Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5163

Could not connect to the SMTP host.

$
0
0

Replies: 0

Hello, I’m having an error where contact form 7 does not send email to my GoDaddy’s Office 365 email, and they suggest me to use this plugin instead. I tried to setup the Mail SMTP but I’m having an error. Pretty sure I do not have any configuration error and typo etc. The error shown like this when I’m sending a test mail:


Versions:
WordPress: 4.9.7
WordPress MS: No
PHP: 7.2.6
WP Mail SMTP: 1.3.3

Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.office365.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)

Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2018-07-27 06:47:52	Connection: opening to smtp.office365.com:587, timeout=300, options=array (
)
2018-07-27 06:48:01	Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to smtp.office365.com:587 (Connection refused)
2018-07-27 06:48:01	SMTP ERROR: Failed to connect to server: Connection refused (111)
2018-07-27 06:48:01	SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

and this is the screenshot: https://prnt.sc/kbm2fz

Thanks for the help.


Viewing all articles
Browse latest Browse all 5163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>