Does anyone have experience integrating Sendgrid with CS cart? My setup was working fine but then today I started getting the following error:
"ErrorMessage could not be sent.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
I have followed this guide:
And tried setting the host to both "smtp.sendgrid.net:587" and "smtp.sendgrid.net", but neither works.
I have attached what settings currently are, and below is a snippet of code from cpanel error_log:
[01-Dec-2017 18:28:19 Europe/Moscow] PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`*.dnshostnetwork.com' did not match expected CN=`smtp.sendgrid.net' in /home/*snipped*/public_html/app/lib/vendor/phpmailer/phpmailer/class.smtp.php on line 368