• Resolved GregW

    (@gwmbox)


    HI

    Trying to get this to work using my own SMTP and I am getting this error

    ErrorInfo: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=ns1.trpweb2.com.au' did not match expected CN=mail.aabmgs.org.au’ SMTP server error: QUIT command failed Detail: m�d1b

    More importantly what is stream_socket_enable_crypto(): CRYPTO???

    EDIT – fixed it, I did not secure the email address via SSL. But still what is the crypto part about?

    • This topic was modified 5 months ago by GregW.
Viewing 1 replies (of 1 total)
  • Plugin Support Jaime Segura

    (@jaimeimagely)

    Hi @gwmbox

    This is a first for me, to be honest, but after researching, it turned out to be quite simple:

    Crypto just means encryption.

    When WordPress connects to your SMTP server, it tries to:

    • Open a connection
    • Encrypt it using SSL/TLS (so emails aren’t sent in plain text)
    • Verify the server’s identity using its SSL certificate

    The function stream_socket_enable_crypto() is simply PHP saying: “I tried to turn on encryption for this SMTP connection.”

    You tried to connect to a domain, but the certificate the server presented was not matching.

    That’s it. I hope this helps.

    Thanks.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.