Timeout 30s

This commit is contained in:
Thomas Forgione
2018-06-22 12:20:33 +02:00
parent 24100d6f83
commit f5f45ed391

View File

@@ -8,7 +8,8 @@ module.exports = function(params, callback) {
password: config.MAIL.PASSWORD,
host: config.MAIL.HOSTNAME,
port: config.MAIL.PORT,
tls: config.MAIL.TLS
tls: config.MAIL.TLS,
timeout: 30000,
});
server.send(params, function(err) {