Symptoms
Your app's email test shows an error such as Connection timed out, 535 Authentication failed, certificate verify failed or Sender address rejected.
Cause
Each error points to a different setting:
- Connection timed out or could not connect: wrong host or port, or port 25, which is blocked on every server.
- Authentication failed (often code
535): wrong user name or password, or the service wants an app password or API key instead of your normal password. - Certificate or TLS errors: the encryption setting does not match the port, or the host name does not match the service's certificate.
- Sender address rejected or not verified: the From address uses a domain or address the service does not allow.
How to fix
- Copy the host name exactly from your email service, for example
smtp.your-provider.example. Do not use an IP address. - Use port
587withSTARTTLS/TLS, or465withSSL. Do not mix them. - Create a fresh SMTP password or API key in your email service and paste it in where the app asks for
YOUR_SMTP_PASSWORD. Check for extra spaces. - Set the From address to one on a domain you verified with the service.
- Send the test again after each change, so you know which one fixed it.
When to raise a ticket
Use Raise a ticket if you get a time-out on both 587 and 465 with the right host. Include the application name, host, port and the exact error. Never include the SMTP password or API key. Our support team will check outgoing connections from your server.
Was this helpful?
Still need help?
24/7 support from our team. Sign in to the console to raise a ticket about this.