Before you start, create an SMTP user on your verified domain under Channels > Email,
domain, SMTP Credentials. You need its username and password, and a from address on the same
domain. See SMTP relay.
BRUDCAST_SMTP_USERNAME and BRUDCAST_SMTP_PASSWORD. Keep the
password out of source control.
- Nodemailer
- Laravel
- Django
- Ruby on Rails
- WordPress
- PHPMailer
port: 465 and secure: true, and remove requireTLS.If it doesn’t work
“535 Invalid credentials”
“535 Invalid credentials”
Why: The username or password is wrong, or the SMTP user is deactivated.Fix: Use the SMTP user’s generated username, not your own email address. If you’ve lost
the password, regenerate it on the SMTP Credentials tab.
“538 Error: Must issue a STARTTLS command first”
“538 Error: Must issue a STARTTLS command first”
Why: The client tried to log in before encrypting the connection.Fix: Turn on STARTTLS or TLS in your client’s settings, or switch to port 465 with SSL/TLS.
“550 MAIL FROM domain does not match authenticated domain”
“550 MAIL FROM domain does not match authenticated domain”
Why: The from address isn’t on the SMTP user’s domain.Fix: Send from an address on that domain. In WordPress, turn on Force From Email.
The connection times out
The connection times out
Why: Your network or hosting provider blocks the port.Fix: Try port 2525, or 465.
Related
SMTP relay
Ports, TLS, limits and every reply code.
Email send API
Send with Bcc, Reply-To and custom headers.
SMTP users
Create the username and password these settings need.
Message status
Follow up a message your framework sent.