• Hi
    I have tried your smtp plugin, but i dont know its not even sending emails. I have tried both options ssl, tsl, and both ports. when i check gmail i got this email. I even tried two other plugins. But no success with anyone. what i have been doing wrong?
    First i thought that it was due to the following message which i received at my email

    Are you the one who tried signing in?
    Google will continue to block sign-in attempts from the app that you’re using. To continue using this app, you can allow access to less secure apps, but your account may be more vulnerable.

    ALLOW ACCESS

    I allow the access but still this error.

    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have same problem, I tried send mail with Gmail account and Hotmail account and I get same message, “SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting”

    Same here. Got a Gmail message saying an insecure app was trying to access my account with an option to enable insecure apps. Did that but still get the same error message. Using WordPress v4.6.1 with PHPMailer v5.2.14 and Easy WP SMTP v1.2.3.

    I’ve solved turning off encryption (Type of Encryption: None), but I don’t use a Google account.

    Can be an issue related to conjunction with PHPMailer and PHP7? The sites affected are hosted on a server with PHP7 installed.

    PHP v5.6 here…

    It seems to be an issue related to PHPMailer in conjunction with PHP v5.6 and above, when a self-signed certificate (or not formally correct certificate) is present on the SMTP server requested.
    I’ve found this:
    https://php.net/manual/en/migration56.openssl.php

    Maybe something like a flag “Trust all certificates” should be needed in the plugin’s GUI, or a modification of the PHPMailer defaults used in WordPress.
    This is the suggested option to do this:

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

    Excuse me for my bad english.

    • This reply was modified 8 years, 2 months ago by macdave. Reason: Code added
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Easy WP SMTP Error MESSAGE’ is closed to new replies.