'Send email with Nodemailer and Office365 mail.protection.outlook.com link (without Auth)
can we send Emails using Nodemailer and Office365 without Auth?
package.json
"nodemailer": "^6.4.4",
"nodemailer-smtp-transport": "^2.7.4",
If we take a look on the Nodemailer source code (https://github.com/nodemailer/nodemailer/blob/master/lib/smtp-transport/index.js#L56) it should work
I am using Using {xxxxxxxxx}.mail.protection.outlook.com as my connector. It guy has connected connector with Firebase IP address.
I have already tried with:
const mailTransport = nodemailer.createTransport(
smtpTransport({
host: 'xxxxxxxxxxx.mail.protection.outlook.com',
port: 587,
secureConnection: false,
tls: {
ciphers:'SSLv3',
rejectUnauthorized: false
},
})
);
But I am getting an error "530 5.7.57 Client not authenticated to send mail" -> I am using Firebase.
Thx
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
