Symptoms
- Your app's email test says Connection timed out or could not connect to SMTP host.
- Email settings work on your computer but not on the server.
Cause
Outgoing connections on port 25 are blocked on every Poorva Cloud server, at the provider's firewall outside the server. There is no unblock option. Port 25 is the port mail servers use to talk to each other; spammers abuse it, and IP addresses that send on it are often blocked by mail providers.
Email sending services accept email from apps on other ports, after you sign in:
- 587 with STARTTLS (the connection starts plain and switches to encryption);
- 465 with SSL/TLS (encrypted from the start).
How to fix
- Open your app's email or SMTP settings.
- Set the port to
587and encryption toSTARTTLS(sometimes calledTLS). If your service recommends it, use465withSSL. - Turn on authentication and enter the user name and password (or API key used as password) from your email sending service.
- Use the host name your service gives, for example
smtp.your-provider.example. - Send a test email.
When to raise a ticket
Use Raise a ticket if ports 587 and 465 also time out. Include the application name, the SMTP host and port you used, and the exact error. Never send the SMTP password. Our support team will check the server's outgoing connections.
Was this helpful?
Still need help?
24/7 support from our team. Sign in to the console to raise a ticket about this.