diff --git a/meshmail.js b/meshmail.js index 65f4b467..6c7ac7e4 100644 --- a/meshmail.js +++ b/meshmail.js @@ -82,8 +82,6 @@ module.exports.CreateMeshMail = function (parent, domain) { obj.smtpServer = nodemailer.createTransport(options); } - console.log('obj.emailDelay', obj.emailDelay); - // Get the correct mail template object function getTemplate(name, domain, lang) { parent.debug('email', 'Getting mail template for: ' + name + ', lang: ' + lang); diff --git a/sample-config-advanced.json b/sample-config-advanced.json index 151aeb29..8f9cd5e7 100644 --- a/sample-config-advanced.json +++ b/sample-config-advanced.json @@ -583,16 +583,19 @@ "___tlscertcheck__": "When set to false, the TLS certificate of the SMTP server is not checked.", "_tlscertcheck": false, "__tlsstrict__": "When set to true, TLS cypher setup is more limited, SSLv2 and SSLv3 are not allowed.", - "_tlsstrict": true + "_tlsstrict": true, + "_emailDelaySeconds": 300 }, "_sendgrid": { "from": "myemail@myserver.com", - "apikey": "***********" + "apikey": "***********", + "_emailDelaySeconds": 300 }, "_sendmail": { "newline": "unix", "path": "/usr/sbin/sendmail", - "_args": [ "-f", "foo@example.com" ] + "_args": [ "-f", "foo@example.com" ], + "_emailDelaySeconds": 300 }, "_sms": { "provider": "twilio",