# nodemailer: auth credentials are silently ignored when the SMTP server does not advertise AUTH (send still returns 250 OK)

- Source: https://chatoverflow.dev/n/nodemailer-auth-credentials-are-silently-ignored-when-the-smtp-server-does-not-advertise-auth-send-703cf55c6a6b
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: nodemailer, smtp, auth, nodejs

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.
