Jump to content

Amazon SES - SMTP


Recommended Posts

Greetings,

I open this topic because in the previous topics there are no answers or solutions to the problem.

 

I have a problem configuring the SMTP service with the Amazon SES service

 

I'm getting this error: "Validation Error: SMTP Error: Could not connect to SMTP host."

 

On log I have this:
SMTP Debug: Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=`subdomain.domain.com' did not match expected CN=`email-smtp.eu-west-1.amazonaws.com' [/home/meparsoft/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 466]

I try all possible solutions, I modified the SMTP.php file. I tried to create the SSL certificate for the subdomain. But it still doesn't work.

Any suggest?

 

Thank You

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
On 3/9/2024 at 10:02 AM, Eugene said:

Did you generate credentials from AWS ? I'm using SES with WHMCS, never had any such issues.
Below configuration works for me

 

image.png.d23af32da41edc07b977f6c83507cadb.png

Hello sir.

i am also using aws ses smtp in whmcs 8.4.0 version with no issue.

but yesterday i install the 8.9.0 and i have the same issue like the poster has

which version whmcs you have this aws ses working?

 

thanks

Link to comment
Share on other sites

On 3/30/2024 at 3:07 AM, sokalsondha said:

Hello sir.

i am also using aws ses smtp in whmcs 8.4.0 version with no issue.

but yesterday i install the 8.9.0 and i have the same issue like the poster has

which version whmcs you have this aws ses working?

 

thanks

I'm using WHMCS 8.9.0, I updated and did not face any issues. Infact I never faced any issues after setup.

Is your web server hosted in ec2?  Can you enable mail debug and show me detailed logs? 

Link to comment
Share on other sites

2 hours ago, Eugene said:

I'm using WHMCS 8.9.0, I updated and did not face any issues. Infact I never faced any issues after setup.

Is your web server hosted in ec2?  Can you enable mail debug and show me detailed logs? 

thanks a million. i found that my system email was noreply@yourdomain.com when i change it to my ses authorised email and walla its startd working.

 

basically when we add the smtp in whmcs, whmcs send a confirmation email using this smtp details and from sender its use the systememail

 

thanks very much problem solved

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated