Title: error message when test
Last modified: March 5, 2018

---

# error message when test

 *  Resolved [omotoshoa](https://wordpress.org/support/users/omotoshoa/)
 * (@omotoshoa)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-message-when-test/)
 * Versions:
    WordPress: 4.9.4 WordPress MS: No PHP: 5.6.33 WP Mail SMTP: 1.2.5
 * Params:
    Mailer: smtp Constants: No ErrorInfo: SMTP connect() failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
   Host: cateringcore.com Port: 465 SMTPSecure: tls SMTPAutoTLS: bool(true) SMTPAuth:
   bool(true)
 * Server:
    OpenSSL: Yes SMTP Debug: 2018-03-05 14:07:56 Connection: opening to 
   cateringcore.com:465, timeout=300, options=array ( ) 2018-03-05 14:07:59 Connection:
   opened 2018-03-05 14:10:44 SERVER -> CLIENT: 2018-03-05 14:10:44 SMTP NOTICE:
   EOF caught while checking if connected 2018-03-05 14:10:44 Connection: closed
   2018-03-05 14:10:44 SMTP Error: Could not connect to SMTP host. 2018-03-05 14:
   10:44 SMTP connect() failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
   Please copy only the content of the error debug message above, identified with
   an orange left border, into the support forum topic if you experience any issues.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-when-test%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [omotoshoa](https://wordpress.org/support/users/omotoshoa/)
 * (@omotoshoa)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-message-when-test/#post-10040737)
 * I have fixed it but messages go to spam. How do I fix it
 *  Thread Starter [omotoshoa](https://wordpress.org/support/users/omotoshoa/)
 * (@omotoshoa)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-message-when-test/#post-10043744)
 * I installed your plugin WP MAIL SMTP to allow wordpress send mails out. I did
   the test and it said successful but mails drop in spam. please help
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-message-when-test/#post-10177447)
 * [@omotoshoa](https://wordpress.org/support/users/omotoshoa/)
 * About spam: the mail server on `cateringcore.com` may be blacklisted. Change 
   the server (postfix?) settings, perhaps IP address and the whole host.
    Another
   problem: with TLS encryption you should be using port 587, and NOT 465. Port 
   465 is for SSL primarily.

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

The topic ‘error message when test’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/error-message-when-test/#post-10177447)
 * Status: resolved