Connection timed out
Connection timed out
Error example:
Connection timed out or Could not connect to SMTP hostCause: Your client cannot reach the SMTP server. This is usually caused by network issues, firewall rules blocking the port, or the server being unreachable.Fix:- Check your internet connection.
- Confirm the SMTP server address is correct. Use
relayxx.mysmtp.comfor dedicated IPs (from your setup email), ormail.mysmtp.comfor shared IP (DK only). - Confirm the relevant port is open on your network. mySMTP supports port 587 (STARTTLS) and port 2525 as an alternative.
- Test connectivity with telnet or openssl:
Or for a TLS test:
What if telnet is not installed?
What if telnet is not installed?
Install it from your package manager (for example
sudo apt install telnet on Ubuntu, brew install telnet on macOS), or test connectivity with the OpenSSL command above.Authentication failed
Authentication failed
Error example:
535 Authentication failed or SMTP Error: Could not authenticateCause: The server rejected the login credentials.Fix:- Double-check your username and password. Use your mySMTP SMTP username, which may differ from the email address you signed up with.
- Confirm your account is active and not locked. Check your dedicated server dashboard or shared account dashboard.
- Make sure the authentication method is Normal password or Basic authentication depending on your client.
- If you recently changed your password, update it in the application and retry.
TLS errors
TLS errors
Error example:
SSL: CERTIFICATE_VERIFY_FAILED or Handshake failedCause: The client and server cannot establish a secure connection.Fix:- Update your client and system to support modern TLS versions. mySMTP requires at least TLS 1.2.
- Verify that your system CA trust store is up to date.
- If you are using a custom TLS library (for example in PHP or Python), ensure it is current.
- Avoid disabling certificate validation in production. Only disable it temporarily for a controlled test in an isolated environment.
Blocked by firewall or ISP
Blocked by firewall or ISP
Error example: No specific error, but the connection silently times out or fails.Cause: Many ISPs and hosting providers block outbound traffic on port 25 to reduce spam. Some corporate firewalls also block port 587.Fix:
- Use port 587 with STARTTLS, which is the standard submission port.
- If port 587 is blocked, try port 2525 or port 25 as alternatives.
- Contact your network administrator or ISP to open submission ports.
Too many connections / throttling
Too many connections / throttling
Error example:
421 Too many concurrent SMTP connections or 421 Service not availableCause: The server is limiting the number of simultaneous connections from your client.Fix:- Reuse your SMTP connections instead of opening a new one for every message. Use connection pooling where your application supports it.
- Lower your sending rate if you are sending large volumes.
- If you are on a shared IP plan (DK only) and consistently hit the limit, consider upgrading to a dedicated IP for higher connection limits.
- Review SMTP limits and sending rates for plan-specific guidance.
DNS resolution issues
DNS resolution issues
Error example:
Temporary failure in name resolution or Host not foundCause: The SMTP hostname cannot be resolved to an IP address.Fix:- Check that the hostname is correct. Dedicated IP users should use
relayxx.mysmtp.com(from their setup email). Shared IP users (DK only) should usemail.mysmtp.com. - Ensure your server has working DNS settings. Confirm you can resolve other hostnames.
- As a temporary troubleshooting step only, try using the SMTP server’s IP address directly. Replace the IP with the hostname in production once DNS is restored.
General troubleshooting steps
1
Test basic connectivity
Run
ping or traceroute to the server hostname to verify the path is reachable.2
Test the SMTP handshake
Use
telnet or openssl s_client to test that the port is open and the server responds.3
Check your application logs
Read the full error message and stack trace from your email client or sending application.
4
Check mySMTP service status
Visit status.mysmtp.com for maintenance windows or known incidents.
5
Isolate network interference
Temporarily disable antivirus or local firewall to see if it is intercepting SMTP traffic.
6
Test from a different network
Try sending from another location or mobile hotspot to rule out local network restrictions.
Tips for reliable SMTP connections
- Always use modern encryption. Connect on 587 with STARTTLS or an alternate secure port.
- Use hostnames rather than hardcoded IP addresses so your configuration stays valid if the IP changes.
- Monitor your connection rate, timeout rate, and retry count in your application.
- Keep your email libraries and operating system up to date.
.png?fit=max&auto=format&n=-Uw4rR8wfyv_xkzc&q=85&s=898bb0b43b6c9dce61441f46ac9ac860)
