MrChief Posted February 26 Share Posted February 26 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 0 Quote Link to comment Share on other sites More sharing options...
Eugene Posted March 9 Share Posted March 9 Did you generate credentials from AWS ? I'm using SES with WHMCS, never had any such issues. Below configuration works for me 0 Quote Link to comment Share on other sites More sharing options...
sokalsondha Posted March 29 Share Posted March 29 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 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 0 Quote Link to comment Share on other sites More sharing options...
Eugene Posted April 3 Share Posted April 3 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? 0 Quote Link to comment Share on other sites More sharing options...
sokalsondha Posted April 3 Share Posted April 3 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.