• Resolved acrobate67

    (@acrobate67)


    I am entering SMTP settings but always getting error when sending test. I have setup same account on my Outlook using same settings to verify and it works fine. But doesn’t work if I send from website. Any idea why?

    By the way it used to work. It only stopped working yesterday for any reason. I did not change any setting. Already tried basics like plugin deactivation and theme switching.

    https://www.ads-software.com/plugins/wp-mail-smtp/

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

    (@acrobate67)

    Found it by myself. I switched PHP version from 5.6 to 5.4 and it now works.

    I have an issue with this Plugin when using PHP 5.6.
    It is not working, when I use SMTP with user authentication and TLS.

    I found this description of problem:

    PHP 5.6 introduces SSL certificate verification, so if your config is broken, it will fail with this error. You should fix your SSL, but you can revert to the old behaviour by setting the SMTPOptions property to not verify certificates:

    $mail->SMTPOptions = array(
    ‘ssl’ => array(
    ‘verify_peer’ => false,
    ‘verify_peer_name’ => false,
    ‘allow_self_signed’ => true
    )
    );

    Thread Starter acrobate67

    (@acrobate67)

    Thanks a lot. I had fixed but at least now i understand why it was not working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Settings not working’ is closed to new replies.