Title: Mailer: Other SMTP SMTP connect() failed. https://github.com/PHPMailer/PHPMailer
Last modified: April 15, 2022

---

# Mailer: Other SMTP SMTP connect() failed. https://github.com/PHPMailer/PHPMailer

 *  [Nadav Levi](https://wordpress.org/support/users/123nadav/)
 * (@123nadav)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/mailer-other-smtp-smtp-connect-failed-https-github-com-phpmailer-phpmailer/)
 * Error is on all my sites.
    i think it’s the core update cause some conflicts.
   i see more people with the same error.
 * Everything was working fine 2 days ago,
    today i got inside and see it.
 * i didn’t touch any configuration.
    Suspect it’s an update ( a core update )
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmailer-other-smtp-smtp-connect-failed-https-github-com-phpmailer-phpmailer%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Nadav Levi](https://wordpress.org/support/users/123nadav/)
 * (@123nadav)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/mailer-other-smtp-smtp-connect-failed-https-github-com-phpmailer-phpmailer/#post-15564326)
 * Please help????
 *  Plugin Support [Darshana](https://wordpress.org/support/users/darshanaw/)
 * (@darshanaw)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/mailer-other-smtp-smtp-connect-failed-https-github-com-phpmailer-phpmailer/#post-15569242)
 * Hi [@123nadav](https://wordpress.org/support/users/123nadav/),
 * Thanks for reaching out! Could you please share the full error log? so that we
   should be able to assist you accordingly.
 * When you send a test email from **WP Mail SMTP > Tools** area, you should be 
   able to see the full error log (if you’re having any issues). Here’s a screenshot
   of the option to get a full error log ([see](https://a.supportally.com/3Hc3lq)).
   This will provide you with an idea of what might be going on.
 * Thanks!
 *  [armeen1](https://wordpress.org/support/users/armeen1/)
 * (@armeen1)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/mailer-other-smtp-smtp-connect-failed-https-github-com-phpmailer-phpmailer/#post-15570585)
 * Versions:
    WordPress: 5.9.3 WordPress MS: No PHP: 8.0.6 WP Mail SMTP: 3.3.0
 * Params:
    Mailer: smtp Constants: No ErrorInfo: SMTP connect() failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
   Host: smtp.office365.com Port: 587 SMTPSecure: tls SMTPAutoTLS: bool(true) SMTPAuth:
   bool(true)
 * Server:
    OpenSSL: OpenSSL 1.1.1d 10 Sep 2019 Apache.mod_security: No
 * Debug:
    Email Source: WP Mail SMTP Mailer: Andere SMTP-service SMTP connect()
   failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
 * SMTP Debug:
 * 2022-04-19 09:43:00 Connection: opening to smtp.office365.com:587, timeout=300,
   options=array()
 * 2022-04-19 09:43:04 Connection failed. Error #2: stream_socket_client(): Unable
   to connect to smtp.office365.com:587 (Network is unreachable) [/home/aroautos/
   taxiandel.nl/wp-includes/PHPMailer/SMTP.php line 388]
 * 2022-04-19 09:43:04 SMTP ERROR: Failed to connect to server: Network is unreachable(
   101)
 * SMTP connect() failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
 *  Thread Starter [Nadav Levi](https://wordpress.org/support/users/123nadav/)
 * (@123nadav)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/mailer-other-smtp-smtp-connect-failed-https-github-com-phpmailer-phpmailer/#post-15570686)
 * I tell you the truth, i really sorry i do it like this, but really.
    this plugin
   is so, so bad plugin.
 * i have cPanel and WordPress PHP design by default do all the mailing process.
 * When i delete your plugin, the emails comeback works.
    and the must important,
   this Action Scheduler.
 * This thing you install to your clients… it’s so bad… (Action Scheduler)
    my site
   much faster and sending mail without any problem.
 * btw, issue can be accrued to all the GCP users (Google Cloud Platform) clients.
 * This because GCP force to use SendGrid or Mailgun in a cloud level.
    Before a
   month ago was some update on WordPress and now your plugin cant connect to this
   API, its kind of premison problem.
 * And not only GCP do it, AWS and 365 going to do it soon too.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Mailer: Other SMTP SMTP connect() failed. https://github.com/PHPMailer/
PHPMailer’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Nadav Levi](https://wordpress.org/support/users/123nadav/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/mailer-other-smtp-smtp-connect-failed-https-github-com-phpmailer-phpmailer/#post-15570686)
 * Status: not resolved