Revert "make box code send emails with STARTTLS"
This reverts commit ca496df535.
2525 has no TLS anymore
This commit is contained in:
+1
-2
@@ -76,8 +76,7 @@ function sendMail(mailOptions, callback) {
|
||||
auth: {
|
||||
user: mailOptions.authUser || `no-reply@${settings.adminDomain()}`,
|
||||
pass: data.relayToken
|
||||
},
|
||||
tls: { rejectUnauthorized: false }
|
||||
}
|
||||
}));
|
||||
|
||||
transport.sendMail(mailOptions, function (error) {
|
||||
|
||||
Reference in New Issue
Block a user