Added emailDelaySeconds to sample advanced config.
This commit is contained in:
parent
1df35c13c4
commit
7002ce1ea2
|
@ -82,8 +82,6 @@ module.exports.CreateMeshMail = function (parent, domain) {
|
||||||
obj.smtpServer = nodemailer.createTransport(options);
|
obj.smtpServer = nodemailer.createTransport(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('obj.emailDelay', obj.emailDelay);
|
|
||||||
|
|
||||||
// Get the correct mail template object
|
// Get the correct mail template object
|
||||||
function getTemplate(name, domain, lang) {
|
function getTemplate(name, domain, lang) {
|
||||||
parent.debug('email', 'Getting mail template for: ' + name + ', lang: ' + lang);
|
parent.debug('email', 'Getting mail template for: ' + name + ', lang: ' + lang);
|
||||||
|
|
|
@ -583,16 +583,19 @@
|
||||||
"___tlscertcheck__": "When set to false, the TLS certificate of the SMTP server is not checked.",
|
"___tlscertcheck__": "When set to false, the TLS certificate of the SMTP server is not checked.",
|
||||||
"_tlscertcheck": false,
|
"_tlscertcheck": false,
|
||||||
"__tlsstrict__": "When set to true, TLS cypher setup is more limited, SSLv2 and SSLv3 are not allowed.",
|
"__tlsstrict__": "When set to true, TLS cypher setup is more limited, SSLv2 and SSLv3 are not allowed.",
|
||||||
"_tlsstrict": true
|
"_tlsstrict": true,
|
||||||
|
"_emailDelaySeconds": 300
|
||||||
},
|
},
|
||||||
"_sendgrid": {
|
"_sendgrid": {
|
||||||
"from": "myemail@myserver.com",
|
"from": "myemail@myserver.com",
|
||||||
"apikey": "***********"
|
"apikey": "***********",
|
||||||
|
"_emailDelaySeconds": 300
|
||||||
},
|
},
|
||||||
"_sendmail": {
|
"_sendmail": {
|
||||||
"newline": "unix",
|
"newline": "unix",
|
||||||
"path": "/usr/sbin/sendmail",
|
"path": "/usr/sbin/sendmail",
|
||||||
"_args": [ "-f", "foo@example.com" ]
|
"_args": [ "-f", "foo@example.com" ],
|
||||||
|
"_emailDelaySeconds": 300
|
||||||
},
|
},
|
||||||
"_sms": {
|
"_sms": {
|
||||||
"provider": "twilio",
|
"provider": "twilio",
|
||||||
|
|
Loading…
Reference in New Issue