Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

How to Configure Amazon SES SMTP on GoDaddy VPS with cPanel – Complete Guide

Absolutely! Here’s a comprehensive blog tutorial that covers everything you experienced — from configuring Amazon SES SMTP on a GoDaddy VPS to resolving port blocks and certificate issues — all in one clear, step-by-step guide.


📧 How to Configure Amazon SES SMTP on GoDaddy VPS with cPanel – Complete Guide (2026)

If you’re trying to set up Amazon SES to send reliable, secure emails from your WordPress website hosted on a GoDaddy VPS with cPanel, you’ve probably hit a few frustrating walls — like SSL handshake failures, SMTP connection issues, or silent email failures.

In this complete tutorial, we’ll walk you through:

  • 🔧 How to set up Amazon SES SMTP in WordPress
  • 🛑 Common GoDaddy VPS issues (like port blocking and SSL errors)
  • ✅ The hidden workaround using port 2587
  • 🔐 Security best practices

🚀 Prerequisites

  • A VPS hosted with GoDaddy and cPanel access
  • A verified domain in Amazon SES
  • WordPress + WP Mail SMTP plugin installed
  • SES SMTP credentials (generated from SES)

🧰 Step 1: Verify Your Domain in Amazon SES

  1. Go to Amazon SES Console > Verified Identities
  2. Click Create Identity
  3. Choose Domain
  4. Enter your domain (e.g., yourdomain.com)
  5. Copy the DNS records:
    • ✅ TXT (for domain verification)
    • ✅ CNAME (for DKIM signing)
    • ✅ SPF (optional but recommended)
  6. Add these to your domain’s DNS using cPanel or your DNS provider
  7. Wait for SES to show “Verified” for the domain

🔐 Step 2: Generate Amazon SES SMTP Credentials

  1. In the SES console, go to SMTP Settings
  2. Click Create SMTP Credentials
  3. It will create a new IAM user and give you:
    • ✅ SMTP Username
    • ✅ SMTP Password

Save these securely.


⚙️ Step 3: Configure WP Mail SMTP Plugin in WordPress

  1. Go to WP Mail SMTP > Settings
  2. Choose Mailer: Other SMTP
  3. Configure the following:
FieldValue
SMTP Hostemail-smtp.ap-south-1.amazonaws.com
Port2587 ✅ (Amazon’s alternate STARTTLS port)
EncryptionTLS (STARTTLS)
AuthenticationYes
UsernameYour SMTP username from SES
PasswordYour SMTP password from SES
  1. Save settings
  2. Send a test email from WP Mail SMTP > Email Test

🧨 Common Issues (and Fixes)

❌ Problem #1: SMTP Error – Could Not Connect to Host

SMTP Error: Could not connect to SMTP host. Connection failed.
Code language: JavaScript (javascript)

🔍 Cause: GoDaddy VPS blocks or redirects ports 465 and 587

✅ Fix: Use port 2587 with TLS encryption — this is a hidden gem that usually works


❌ Problem #2: SSL Certificate Verify Failed

stream_socket_enable_crypto(): SSL operation failed with code 1
Code language: JavaScript (javascript)

🔍 Cause: Expired or invalid certificate — but not from Amazon SES! You’re actually being routed to GoDaddy’s own mail relay (s132-148-28-255.secureserver.net) with an expired cert.

✅ Fix:

  • Switch to port 2587 so SES connection isn’t intercepted
  • Or use Amazon SES API to bypass SMTP entirely

🧪 Bonus: Verifying Your Server Is Connecting to Amazon, Not GoDaddy

Run this in SSH:

openssl s_client -connect email-smtp.ap-south-1.amazonaws.com:465
Code language: CSS (css)

If you see:

CN = s132-148-28-255.secureserver.net

❌ You’re being redirected by your hosting provider.

✅ Use this instead to test 2587:

openssl s_client -starttls smtp -connect email-smtp.ap-south-1.amazonaws.com:2587
Code language: CSS (css)

You should see a valid Amazon certificate!


🔄 Alternative: Use Amazon SES API (Recommended for Production)

Instead of SMTP, switch to SES API integration, which:

  • Is more secure
  • Doesn’t require SMTP ports
  • Avoids all SSL/cert errors

WP Mail SMTP supports it directly under Amazon SES Mailer — just generate IAM credentials with ses:SendEmail permission and connect.


✅ Final Recommendations

OptionWorks on GoDaddy VPS?ReliabilityDifficulty
SMTP Port 2587✅ Yes✅ High🟢 Easy
SMTP Port 587/465❌ Blocked/Intercepted❌ Low🔴 Broken
Amazon SES API✅ Yes✅✅ Best🟡 Medium

🎯 Conclusion

Setting up Amazon SES SMTP on a GoDaddy VPS may seem painful at first, but with the right port (2587) and configurations, you can bypass the restrictions and send secure, reliable emails from your WordPress site.

For production-grade setups, consider switching to SES API — it’s faster, safer, and immune to server-level mail hijacking.


If you have questions or want help configuring Amazon SES API or SendGrid/Gmail as fallback SMTP — drop a comment or reach out!


Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Team Foundation Server 2015 Installation Guide (SQL Express + Update 3)

Install Team Foundation Server 2015 using the original Microsoft download paths, with clear guidance for online, offline, and ISO-based setup. This revised guide also includes an installation workflow, command example, and practical pitfalls to avoid.

Read More

How to Access a Running Docker Container Shell: docker exec vs docker attach

Need a shell inside a running container that is already in detached mode? This updated guide shows the correct workflow, compares docker exec and docker attach, and explains when SSH does and does not make sense.

Read More

Host Your Own NuGet Feed: Local Source vs NuGet.Server vs NuGetGallery

Learn how to host a private NuGet feed using three practical approaches: a local folder source, NuGet.Server, and NuGetGallery. This revised guide includes setup steps, command examples, and a workflow diagram to help you choose the right model.

Read More

Publish NuGet Packages to NuGet.org: CLI Steps, Workflow, and CI Example

Learn how to publish a NuGet package to NuGet.org using either nuget.exe or the dotnet CLI. This revised guide includes a workflow diagram, command comparison, and a CI-friendly example.

Read More

How to Create NuGet Packages with nuget.exe (Assembly, .nuspec, and .csproj Methods)

Learn three practical ways to build NuGet packages using nuget.exe: from an existing assembly, from a convention-based folder layout, or directly from a Visual Studio project. This guide includes commands, folder conventions, token behavior, and common pitfalls.

Read More

Virtualization in DevOps: Using Vagrant, Docker, and Cloud Platforms Together

This guide explains how VM-based workflows, containers, and cloud platforms complement each other in DevOps. It includes a practical workflow, trade-off table, and command examples for day-to-day use.

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x