Troubleshooting

SMTP Connection Errors

TLS, ports, credentials, and firewall rules for sending servers.

Apr 20, 2026·9 min read· Intermediate

SMTP errors in Senddera usually appear in sending logs, failed queue jobs, or a test-email popup. Fix them by verifying host, port, encryption, credentials, and firewall/DNS — in that order.

Connection settings reference

Provider patternHostPortEncryption
TLS (recommended)smtp.example.com587TLS / STARTTLS
SSL (legacy)smtp.example.com465SSL
Amazon SESemail-smtp.REGION.amazonaws.com587TLS
Plain (rare, insecure)25None — often blocked on VPS

Detailed SES setup: Configuring Amazon SES.

Step 1 — Test from the server

SSH to the Senddera host and test reachability:

nc -zv email-smtp.us-east-1.amazonaws.com 587
# or
openssl s_client -connect smtp.example.com:587 -starttls smtp

If Connection refused or timeout:

  • Cloud provider blocking outbound 25/587 — open in security group or use provider SMTP
  • Wrong hostname or region (SES region must match endpoint)

Step 2 — Credentials and auth

  • Username/password — SES uses SMTP credentials from IAM, not console password
  • API keys — some drivers use API instead of SMTP; match the driver type in Senddera
  • 2FA apps — Google Workspace may need app passwords
  • Rotate credentials and update Sending Server; then php artisan queue:restart

Step 3 — TLS / certificate errors

Errors like certificate verify failed or SSL routines:

  • Ensure server CA bundle is current: sudo apt-get install ca-certificates
  • Do not disable TLS verification in production
  • Clock skew — sync NTP (timedatectl)

Step 4 — Senddera sending server form

Admin → SendingSending Servers → edit server:

  1. Match encryption dropdown to port (587 + TLS, 465 + SSL)
  2. Set From email to a verified domain/address (SES, SendGrid)
  3. Run Test connection if available
  4. Assign server to customer / mail list as needed

Step 5 — SPF/DKIM and bounces (after connect works)

SMTP success does not guarantee inbox placement. Configure SPF, DKIM, DMARC and monitor bounces via feedback loops.

Common error messages

  • 535 Authentication failed — wrong user/pass or unverified sender
  • 554 Message rejected — policy, spam content, or missing DNS
  • 421 Try again later — rate limit; enable throttling in Senddera
  • Connection timed out — firewall, wrong port, or host down

Broader delivery issues: Debugging delivery issues and reading logs.

Run your email marketing on your own server

Full source code, no subscriber tax, unlimited sending. One-time $74 license, lifetime updates.

Get Senddera — $74 one-time