I believe there is a configuration called "SMTP Restrictions". You need to disable that.
Oct 11, 2022
4
Level 1
Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`xxx' did not match expected CN=`smtp.sendgrid.net'
Hi,
sending emails works successfully for hours then next day i tried it and didn't send and got this error
Symfony\Component\Mailer\Exception\TransportException: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`xxx' did not match expected CN=`smtp.sendgrid.net'
why in the first sent and stopped without changing config!
i read about disabling smtp restriction by whm but I'm using cpanel and I didn't find "tweak setting"
can you help ?
thanks
Please or to participate in this conversation.