Added emailDelaySeconds to sample advanced config.

This commit is contained in:
Ylian Saint-Hilaire 2022-12-15 10:21:16 -08:00
parent 1df35c13c4
commit 7002ce1ea2
2 changed files with 6 additions and 5 deletions

View File

@ -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);

View File

@ -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",