Skip to content

Instantly share code, notes, and snippets.

@ZulianTiger
Created May 19, 2021 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZulianTiger/e987644a61eab26784c347dda86dfc84 to your computer and use it in GitHub Desktop.
Save ZulianTiger/e987644a61eab26784c347dda86dfc84 to your computer and use it in GitHub Desktop.
Nodemailer SMTP config for office365
let transporter = nodemailer.createTransport({
host: 'smtp.office365.com',
port: 'XXX',
secureConnection: true,
tls: { ciphers: 'SSLv3' },
auth: {
user: 'xxxx@xxxxxxx.xxx',
pass: 'xxxxxxxx'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment