Hello everyone,
I'm having a little issue with SMTP emails from Wordpress, it won't send emails (can recieve them fine),
When I debug the issue I am given the following from the plugin:
2017-09-18 15:17:12 Connection: opening to mail.theshawsboutique.co.uk:25, timeout=300, options=array (
)
2017-09-18 15:17:12 Connection: opened
2017-09-18 15:17:12 SMTP -> get_lines(): $data is ""
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "220-xo7.x10hosting.com ESMTP Exim 4.87 #1 Mon, 18 Sep 2017 11:17:12 -0400
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "220-xo7.x10hosting.com ESMTP Exim 4.87 #1 Mon, 18 Sep 2017 11:17:12 -0400
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited,
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "220-xo7.x10hosting.com ESMTP Exim 4.87 #1 Mon, 18 Sep 2017 11:17:12 -0400
220-We do not authorize the use of this system to transport unsolicited,
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "220 and/or bulk e-mail.
"
2017-09-18 15:17:12 SERVER -> CLIENT: 220-xo7.x10hosting.com ESMTP Exim 4.87 #1 Mon, 18 Sep 2017 11:17:12 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
2017-09-18 15:17:12 CLIENT -> SERVER: EHLO theshawsboutique.co.uk
2017-09-18 15:17:12 SMTP -> get_lines(): $data is ""
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-SIZE 52428800
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-8BITMIME
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-PIPELINING
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-STARTTLS
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250 HELP
"
2017-09-18 15:17:12 SERVER -> CLIENT: 250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
2017-09-18 15:17:12 CLIENT -> SERVER: STARTTLS
2017-09-18 15:17:12 SMTP -> get_lines(): $data is ""
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "220 TLS go ahead
"
2017-09-18 15:17:12 SERVER -> CLIENT: 220 TLS go ahead
2017-09-18 15:17:12 SMTP Error: Could not connect to SMTP host.
2017-09-18 15:17:12 CLIENT -> SERVER: QUIT
2017-09-18 15:17:12 SMTP -> get_lines(): $data is ""
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "221 xo7.x10hosting.com closing connection
"
2017-09-18 15:17:12 SERVER -> CLIENT: 221 xo7.x10hosting.com closing connection
2017-09-18 15:17:12 Connection: closed
2017-09-18 15:17:12 SMTP Error: Could not connect to SMTP host.
The part that caught my eye was "
We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail."
I'm not trying to do any bulk emails I'm simply trying to get it to send emails, (I'm using WooCommerce for a shop so customers need to get order emails)
Host is set to: mail.theshawsboutique.co.uk
Port: 25
And it's set to use SMTP authentication, the email exists in my Cpanel and the password is correct.
Am I doing something wrong or does the system not like me?
Thanks
Paul
I'm having a little issue with SMTP emails from Wordpress, it won't send emails (can recieve them fine),
When I debug the issue I am given the following from the plugin:
2017-09-18 15:17:12 Connection: opening to mail.theshawsboutique.co.uk:25, timeout=300, options=array (
)
2017-09-18 15:17:12 Connection: opened
2017-09-18 15:17:12 SMTP -> get_lines(): $data is ""
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "220-xo7.x10hosting.com ESMTP Exim 4.87 #1 Mon, 18 Sep 2017 11:17:12 -0400
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "220-xo7.x10hosting.com ESMTP Exim 4.87 #1 Mon, 18 Sep 2017 11:17:12 -0400
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited,
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "220-xo7.x10hosting.com ESMTP Exim 4.87 #1 Mon, 18 Sep 2017 11:17:12 -0400
220-We do not authorize the use of this system to transport unsolicited,
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "220 and/or bulk e-mail.
"
2017-09-18 15:17:12 SERVER -> CLIENT: 220-xo7.x10hosting.com ESMTP Exim 4.87 #1 Mon, 18 Sep 2017 11:17:12 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
2017-09-18 15:17:12 CLIENT -> SERVER: EHLO theshawsboutique.co.uk
2017-09-18 15:17:12 SMTP -> get_lines(): $data is ""
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-SIZE 52428800
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-8BITMIME
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-PIPELINING
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250-STARTTLS
"
2017-09-18 15:17:12 SMTP -> get_lines(): $data is "250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
"
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "250 HELP
"
2017-09-18 15:17:12 SERVER -> CLIENT: 250-xo7.x10hosting.com Hello xo7.x10hosting.com [198.91.81.8]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
2017-09-18 15:17:12 CLIENT -> SERVER: STARTTLS
2017-09-18 15:17:12 SMTP -> get_lines(): $data is ""
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "220 TLS go ahead
"
2017-09-18 15:17:12 SERVER -> CLIENT: 220 TLS go ahead
2017-09-18 15:17:12 SMTP Error: Could not connect to SMTP host.
2017-09-18 15:17:12 CLIENT -> SERVER: QUIT
2017-09-18 15:17:12 SMTP -> get_lines(): $data is ""
2017-09-18 15:17:12 SMTP -> get_lines(): $str is "221 xo7.x10hosting.com closing connection
"
2017-09-18 15:17:12 SERVER -> CLIENT: 221 xo7.x10hosting.com closing connection
2017-09-18 15:17:12 Connection: closed
2017-09-18 15:17:12 SMTP Error: Could not connect to SMTP host.
The part that caught my eye was "
We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail."
I'm not trying to do any bulk emails I'm simply trying to get it to send emails, (I'm using WooCommerce for a shop so customers need to get order emails)
Host is set to: mail.theshawsboutique.co.uk
Port: 25
And it's set to use SMTP authentication, the email exists in my Cpanel and the password is correct.
Am I doing something wrong or does the system not like me?
Thanks
Paul