Support » Plugin: SMTP Mailer » SSL verification error

  • Resolved Jake Whiteley

    (@twentyzerotwo)


    Hi,

    So when I use your plugin it never authenticates correctly.

    I check the box to bypass ssl verification or I get the standard error.

    I had a tinker with your plugin, and I found that by removing where you add the ssl options via $phpmailer->SMTPOptions, and adding it in again directly after the $phpmailer->isSMTP(); call as


    $phpmailer->smtpConnect(
    array(
    “ssl” => array(
    “verify_peer” => false,
    “verify_peer_name” => false,
    “allow_self_signed” => true
    )
    )
    );

    It then works.

    Any idea as to why, or has anyone else had this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jake Whiteley

    (@twentyzerotwo)

    Additional info:

    This was on a php7 server, when connecting to office365.com via smtp.

    All the login details were correct, but until I changed the SMTPOptions call to smtpConnect it would state the authentication was incorrect.

    Thread Starter Jake Whiteley

    (@twentyzerotwo)

    If this doesn’t break any other SMTP setups, could this be rolled out into the plugin?

    Thread Starter Jake Whiteley

    (@twentyzerotwo)

    Hey;

    Any progress on this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SSL verification error’ is closed to new replies.