I’m a brand new Newsletter user and just set it up on my site. However, the test Email times out and fails to send, although the “Send direct from WordPress” works absolutely fine. I’m using SMTP and have tried both port 25 and 587 but both give the same error:
Looking at the error message it says “unable to connect” so you have configured an smtp but your blog cannot connect to it. You should report this error to your provider or check the smtp setting maybe the SSL on the port 25 is not correct.
having the same issue while wp-smtp sending mail but the newsletter config giving the error to connect to server in cpanel while in my server this sites newletter working fine any changes i should make for make it in working condition >?
[type] => 2
[message] => stream_socket_client() [function.stream-socket-client]: unable to connect to smtp.gmail.com:587 (Connection timed out)
[file] => /home/harmonyc/public_html/wp-includes/class-smtp.php
[line] => 209
Newsletter HTML test email NOT sent: try to change the sender data, remove the return path and the reply to settings.
Newsletter both TEXT and HTML test email NOT sent: try to change the sender data, remove the return path and the reply to settings.
plx help me to solve this
The only solution for this is to ask your provider to open a certain port that will allows to connect on SMTP server for you to send and receive emails directly on newsletters.. By default, this should be opened at port 25 and 587, if this is controlled and block then it is your provider limits this features. In my case however I am using third party direct mail service instead and none of this technical issues that gives me a problem.