Title: SMTP connect() failed.
Last modified: August 22, 2016

---

# SMTP connect() failed.

 *  [Vitaliss](https://wordpress.org/support/users/vitaliss/)
 * (@vitaliss)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/)
 * I’ve been using your great plugin with amazon ses. Now since about 3 days messages
   are not sent.
    I tried the test but, it says: SMTP connect() failed.
 * [https://wordpress.org/plugins/easy-wp-smtp/](https://wordpress.org/plugins/easy-wp-smtp/)

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/smtp-connect-failed-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/smtp-connect-failed-1/page/2/?output_format=md)

 *  [Jim](https://wordpress.org/support/users/johnnylange/)
 * (@johnnylange)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874695)
 * Check the length of your password to see if it’s more than 12 characters. I noticed
   that it was cutting off my password that was around 20 characters and causing
   the test to fail. Unfortunately the plugin doesn’t say what max length for a 
   password is.
 *  Thread Starter [Vitaliss](https://wordpress.org/support/users/vitaliss/)
 * (@vitaliss)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874741)
 * The amazon ses gives you credentials, no choice of a shorter password. It is 
   generated automatically. However, everything was working, but stopped working
   a few days ago 🙁
 *  [contemplate](https://wordpress.org/support/users/contemplate/)
 * (@contemplate)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874751)
 * I’m having the same issue with trying to do SMTP through Mandrill which uses 
   the API key as the password. Version 1.1.5 of this plugin started encoding the
   pw which may be the issue.
 *  [wpecommerce](https://wordpress.org/support/users/wpecommerce/)
 * (@wpecommerce)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874783)
 * Hi, Are you having this issue with the latest version of the plugin (1.1.7)?
 *  [contemplate](https://wordpress.org/support/users/contemplate/)
 * (@contemplate)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874785)
 * Yes I’m on version 1.1.7
 *  Thread Starter [Vitaliss](https://wordpress.org/support/users/vitaliss/)
 * (@vitaliss)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874786)
 * Yes, same here. 1.1.7
 *  [edanwp](https://wordpress.org/support/users/edanwp/)
 * (@edanwp)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874789)
 * I have the same error, v1.1.7
 * Worked great until few days ago, now I get connect failed.
 * Hosted on DreamHost
 * While I’m here, may I suggest that in cases of failures the emails will be saved
   in a text file?
 * I probably lost a few contact-us due to this error (and it can always happen 
   again, from hosting issue, password change and etc’)
 *  [edanwp](https://wordpress.org/support/users/edanwp/)
 * (@edanwp)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874791)
 * Oops. After reading other threads, I re-saved the password and now it works.
 * Too bad there wasn’t any decent error showing up about the password being decoded
   wrong.
 *  [Mika Epstein](https://wordpress.org/support/users/ipstenu-dh/)
 * (@ipstenu-dh)
 * DreamHost Rep
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874795)
 * wpecommerce – If you have any specific DreamHost-aimed questions, feel free to
   ask me (mika.epstein AT dreamhost.com)
 * The rest of you guys, if you ever have any tickets with tech support, just let
   me know what they are and I can make sure they’re being handled by the right 
   teams 🙂
 *  [contemplate](https://wordpress.org/support/users/contemplate/)
 * (@contemplate)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874796)
 * I’m on a dedicated server and all my ports are open so it’s definitely something
   with the latest version of this plugin.
 *  [Robert](https://wordpress.org/support/users/kinderrwindstreamnet/)
 * (@kinderrwindstreamnet)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874803)
 * Same thing here after upgrading to v1.1.7. I use a Gmail App Password. Things
   were working great before the upgrade.
 *  [wpecommerce](https://wordpress.org/support/users/wpecommerce/)
 * (@wpecommerce)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874812)
 * [@ipstenu](https://wordpress.org/support/users/ipstenu/), Thanks 🙂
 * [@contemplate](https://wordpress.org/support/users/contemplate/) & Robert, I 
   will actually need to investigate this issue. Please use the contact form to 
   get in touch with me:
 * [https://wp-ecommerce.net/contact](https://wp-ecommerce.net/contact)
 *  [Robert](https://wordpress.org/support/users/kinderrwindstreamnet/)
 * (@kinderrwindstreamnet)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874813)
 * Email is working after creating a new Gmail App Password and pasting it in the
   configuration settings. I got the idea from another support thread.
 * Thanks
 *  Thread Starter [Vitaliss](https://wordpress.org/support/users/vitaliss/)
 * (@vitaliss)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874819)
 * I tried new credentials from Amazon SES, but still getting SMTP connect() failed.
 *  [contemplate](https://wordpress.org/support/users/contemplate/)
 * (@contemplate)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/smtp-connect-failed-1/#post-5874829)
 * Found my issue. My server had SMTP_Block turned on in the firewall. Everything
   works well now. Thanks!

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/smtp-connect-failed-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/smtp-connect-failed-1/page/2/?output_format=md)

The topic ‘SMTP connect() failed.’ is closed to new replies.

 * ![](https://ps.w.org/easy-wp-smtp/assets/icon.svg?rev=3158017)
 * [Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more](https://wordpress.org/plugins/easy-wp-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-wp-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-wp-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-wp-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-wp-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-wp-smtp/reviews/)

## Tags

 * [amazon](https://wordpress.org/support/topic-tag/amazon/)

 * 21 replies
 * 10 participants
 * Last reply from: [contemplate](https://wordpress.org/support/users/contemplate/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/smtp-connect-failed-1/page/2/#post-5874877)
 * Status: not resolved