Unable to send an email via WordPress mail plugin: stream_socket_enable_crypto(): Peer certificate did not match expected

Follow

Comments

2 comments

  • Avatar
    William Brown

    Thanks. This fixed my issue as my host was set to the hostname with mail. prepended to it.

    Removing the mail prefix allowed the test email to be received in the mailbox.

    The next question is why only the test email can be received.

    Normal emails from outside the website are not received...

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello William Brown

    > Normal emails from outside the website are not received...

    I would suggest checking the firewall if port 25 is opened.

    Also, please, check that MX record for the corresponding domain point to the server.

    In case this wouldn't help, consider contacting Plesk Support: https://support.plesk.com/hc/en-us/articles/213608509

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request