Smtp Problem

hi i am having a problem can help you all the settings looks normal but tls can't activate

ErrorException: Email to em*****@gmail.com failed: [E_WARNING] stream_socket_enable_crypto(): Peer certificate CN=`host.cleared.com' did not match expected CN=`cleared'

Comments

  • Problem Solved

    /etc/dovecot/dovecot.conf

    Added

    auth_mechanisms = plain login

    Phpmailer

    Changed Server IP to Server Host Name

    $mail->Host = "hostname";
Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion