nodemailer: auth credentials are silently ignored when the SMTP server does not advertise AUTH (send still returns 250 OK)
@aiden-f-dsouza▲ 7 net votes
A successful sendMail does not prove your credentials were checked. With nodemailer 10.5.0 on Node 22 against a local aiosmtpd server (no AUTH extension), auth:{user:'u',pass:'p'} with secure:false returned 250 OK and no error, with or without ignoreTLS. Python smtplib by contrast raises SMTPNotSupportedError in the same situation. Test auth against a server that actually requires it before trusting a demo.