Heads up! The last email your site attempted to send was unsuccessful.
Email Source: WP Core
Mailer: Autre SMTP
SMTP Error: Could not connect to SMTP host.
pulging:WPmailSMTP
the form don’t send email for me or onther persone
tks
Thank you for help
Daniela
I’m having an issue with WP Mail SMTP when I try to use the “Other SMTP” setting to connect with an Exchange 2010 mail relay server. After saving the settings and trying to send a test email I get the following error log:
`Versions:
WordPress: 4.9.19
WordPress MS: No
PHP: 7.2.18
WP Mail SMTP: 1.5.2Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host.
Host: 10.253.31.8
Port: 25
SMTPSecure: tls
SMTPAutoTLS:
C:\wamp64\www\wp-content\plugins\wp-mail-smtp\src\Debug.php:107:boolean trueSMTPAuth:
C:\wamp64\www\wp-content\plugins\wp-mail-smtp\src\Debug.php:107:boolean trueServer:
OpenSSL: OpenSSL 1.1.1b 26 Feb 2019
Apache.mod_security: No
SMTP Debug:
2022-02-28 10:27:43 Connection: opening to 10.253.31.8:25, timeout=300, options=array (
)
2022-02-28 10:27:43 Connection: opened
2022-02-28 10:27:43 SERVER -> CLIENT: 220 relay.akshi.gov.al Microsoft ESMTP MAIL Service ready at Mon, 28 Feb 2022 11:27:43 +0100
2022-02-28 10:27:43 CLIENT -> SERVER: EHLO aspa.gov.al
2022-02-28 10:27:43 SERVER -> CLIENT: 250-relay.akshi.gov.al Hello [10.253.64.130]
250-SIZE 41943040
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING
2022-02-28 10:27:43 CLIENT -> SERVER: STARTTLS
2022-02-28 10:27:43 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2022-02-28 10:27:43 SMTP Error: Could not connect to SMTP host.
2022-02-28 10:27:43 CLIENT -> SERVER: QUIT
2022-02-28 10:27:43 SERVER -> CLIENT:
2022-02-28 10:27:43 SMTP ERROR: QUIT command failed:
2022-02-28 10:27:43 Connection: closed
2022-02-28 10:27:43 SMTP Error: Could not connect to SMTP host.`
If I use Sendgrid on the other hand, emails are sent without issue.
I have contacted my provider and they confirm that there are no firewall or security policy issues, and when I try to telnet from my server to the mail relay server and test SMTP everything works fine.
Any idea on what might be causing this?
Thanks,
Franc
error:14090086:SSL
My webhost had not changed anything regarding SSL Certification. If I roll back to version 2.0.6 the plugin works fine and i am able to send mails.
Could you or anybody help?
Best,
Alex
Can you please help?
below is the error log
Versions:
WordPress: 5.3.2
WordPress MS: No
PHP: 7.2.27
WP Mail SMTP: 1.8.1
Params:
Mailer: smtp
Constants: Yes
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtpout.secureserver.net
Port: 465
SMTPSecure: ssl
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.1d 10 Sep 2019
SMTP Debug:
2020-02-27 08:00:42 Connection: opening to ssl://smtpout.secureserver.net:465, timeout=300, options=array ()
2020-02-27 08:00:42 Connection failed. Error #2: stream_socket_client(): Peer certificate CN=srv82.alidropship.com' did not match expected CN=
smtpout.secureserver.net’ [/home/uali3873/public_html/gohoney.net/wp-includes/class-smtp.php line 298]
2020-02-27 08:00:42 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/uali3873/public_html/gohoney.net/wp-includes/class-smtp.php line 298]
2020-02-27 08:00:42 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtpout.secureserver.net:465 (Unknown error) [/home/uali3873/public_html/gohoney.net/wp-includes/class-smtp.php line 298]
2020-02-27 08:00:42 SMTP ERROR: Failed to connect to server: (0)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
]]>When I try to test the SMTP configuration in the WP Mail SMTP plugin, I get the error
“SMTP Error: Could not connect to SMTP host.”
We have set the “Email Routing” on the host that our website is on to “Remote Mail Exchanger” but the SMTP email test still generates the “Could not connect to SMTP Host” error.
Is there some special configuration that is necessary if our email is on one host and our website is on another host?
Any suggestions you have would be much appreciated.
]]>object(PHPMailer)#1049 (65) {
["Priority"]=>
int(3)
["CharSet"]=>
string(5) "UTF-8"
["ContentType"]=>
string(21) "multipart/alternative"
["Encoding"]=>
string(4) "8bit"
["ErrorInfo"]=>
string(18) "Message body empty"
["From"]=>
string(25) "[email protected]"
["FromName"]=>
string(18) "Name"
["Sender"]=>
string(25) "[email protected]"
["ReturnPath"]=>
string(0) ""
["Subject"]=>
string(4) "test"
["Body"]=>
string(0) ""
["AltBody"]=>
string(5) "email"
["MIMEBody:protected"]=>
string(0) ""
["MIMEHeader:protected"]=>
string(0) ""
["mailHeader:protected"]=>
string(0) ""
["WordWrap"]=>
int(0)
["Mailer"]=>
string(4) "smtp"
["Sendmail"]=>
string(18) "/usr/sbin/sendmail"
["UseSendmailOptions"]=>
bool(true)
["PluginDir"]=>
string(0) ""
["ConfirmReadingTo"]=>
string(0) ""
["Hostname"]=>
string(0) ""
["MessageID"]=>
string(0) ""
["MessageDate"]=>
string(0) ""
["Host"]=>
string(21) "server1r.jiffynet.net"
["Port"]=>
string(3) "465"
["Helo"]=>
string(0) ""
["SMTPSecure"]=>
string(3) "ssl"
["SMTPAuth"]=>
bool(true)
["Username"]=>
string(25) "[email protected]"
["Password"]=>
string(12) "Annette04252"
["AuthType"]=>
string(0) ""
["Realm"]=>
string(0) ""
["Workstation"]=>
string(0) ""
["Timeout"]=>
int(10)
["SMTPDebug"]=>
int(2)
["Debugoutput"]=>
string(4) "echo"
["SMTPKeepAlive"]=>
bool(false)
["SingleTo"]=>
bool(false)
["SingleToArray"]=>
array(0) {
}
["LE"]=>
string(1) "
"
["DKIM_selector"]=>
string(0) ""
["DKIM_identity"]=>
string(0) ""
["DKIM_passphrase"]=>
string(0) ""
["DKIM_domain"]=>
string(0) ""
["DKIM_private"]=>
string(0) ""
["action_function"]=>
string(0) ""
["Version"]=>
string(5) "5.2.4"
["XMailer"]=>
string(0) ""
["smtp:protected"]=>
NULL
["to:protected"]=>
array(1) {
[0]=>
array(2) {
[0]=>
string(19) "[email protected]"
[1]=>
string(0) ""
}
}
["cc:protected"]=>
array(0) {
}
["bcc:protected"]=>
array(0) {
}
["ReplyTo:protected"]=>
array(0) {
}
["all_recipients:protected"]=>
array(1) {
["[email protected]"]=>
bool(true)
}
["attachment:protected"]=>
array(0) {
}
["CustomHeader:protected"]=>
array(0) {
}
["message_type:protected"]=>
string(3) "alt"
["boundary:protected"]=>
array(0) {
}
["language:protected"]=>
array(18) {
["authenticate"]=>
string(35) "SMTP Error: Could not authenticate."
["connect_host"]=>
string(43) "SMTP Error: Could not connect to SMTP host."
["data_not_accepted"]=>
string(30) "SMTP Error: Data not accepted."
["empty_message"]=>
string(18) "Message body empty"
["encoding"]=>
string(18) "Unknown encoding: "
["execute"]=>
string(19) "Could not execute: "
["file_access"]=>
string(23) "Could not access file: "
["file_open"]=>
string(33) "File Error: Could not open file: "
["from_failed"]=>
string(35) "The following From address failed: "
["instantiate"]=>
string(36) "Could not instantiate mail function."
["invalid_address"]=>
string(15) "Invalid address"
["mailer_not_supported"]=>
string(25) " mailer is not supported."
["provide_address"]=>
string(54) "You must provide at least one recipient email address."
["recipients_failed"]=>
string(45) "SMTP Error: The following recipients failed: "
["signing"]=>
string(15) "Signing Error: "
["smtp_connect_failed"]=>
string(22) "SMTP Connect() failed."
["smtp_error"]=>
string(19) "SMTP server error: "
["variable_set"]=>
string(30) "Cannot set or reset variable: "
}
["error_count:protected"]=>
int(2)
["sign_cert_file:protected"]=>
string(0) ""
["sign_key_file:protected"]=>
string(0) ""
["sign_key_pass:protected"]=>
string(0) ""
["exceptions:protected"]=>
bool(true)
}
https://www.ads-software.com/plugins/easy-wp-smtp/
]]>https://www.ads-software.com/extend/plugins/configure-smtp/
]]>