mailer: set timeouts
This commit is contained in:
@@ -67,6 +67,9 @@ async function sendMail(mailOptions) {
|
||||
user: mailOptions.authUser || `no-reply@${dashboardDomain}`,
|
||||
pass: data.relayToken
|
||||
},
|
||||
connectionTimeout: 3000,
|
||||
greetingTimeout: 3000,
|
||||
socketTimeout: 3000,
|
||||
logger: false,
|
||||
debug: false // set to true for smtp logs
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user