magepal / magento2-gmail-smtp-app

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
https://www.magepal.com
319 stars 147 forks source link

Error message on email send and only 1 test email #105

Closed MartinaEL closed 6 years ago

MartinaEL commented 6 years ago

I am getting the following error on the front end of my Magento 2 website when trying to share Wishlists or send a Contact Form and when I send the SMTP test email. I do receive one of the two test emails though - just not the second;

Warning: stream_socket_enable_crypto(): Peer certificate CN='xxx.au' did not match expected CN=`localhost' in public_html/vendor/magento/zendframework1/library/Zend/Mail/Protocol/Smtp.php on line 206

Magento version #: 2.2.3

Edition (EE, CE, OS, etc): CE

PHP Version: 7

srenon commented 6 years ago

Your SSL cert seems to not be valid.

Take a look at https://stackoverflow.com/questions/30371910/phpmailer-generates-php-warning-stream-socket-enable-crypto-peer-certificate

MartinaEL commented 6 years ago

It is valid I have already checked this

Kind regards

Martina

On 11 Apr 2018, at 3:51 am, Renon Stewart notifications@github.com wrote:

Your SSL cert seems to not be valid.

Take a look at https://stackoverflow.com/questions/30371910/phpmailer-generates-php-warning-stream-socket-enable-crypto-peer-certificate

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

srenon commented 6 years ago

This is a server config issue and not an extension issue. You are more than welcome to open paid support and we will try to fix it.

dev-Dhaval commented 5 years ago

Its will showing wrong email address in FROM. It's not use magento system -> configuration mail id for FROM address.