I followed this to send SMTP email with Mailgun: https://u.expressionengine.com/article/using-mailgun-to-send-emails-from-your-website When testing, i get this error:
Warning
stream_socket_enable_crypto(): Peer certificate CN=*.supercp.com' did not match expected CN=smtp.mailgun.org’
ee/legacy/libraries/Email.php, line 1715
I get this on local and remote server.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.