Trouble Connecting Outbound Website Email to SMTP

Trouble Connecting Outbound Website Email to SMTP

Zoho Support,

I’m having all kinds of trouble trying to setup smtp email via my website. I’ve tried several different plugins, all give me an authentication error - as you can see from the log below. I’ve ensured that email routing is set to ‘remote mail exchanger’ in cPanel. I’ve verified I’m using the correct MX records, that my domain is verified and that I’m using the correct credentials. I’ve also tried SSL vs. TLS, both give me the same response. I’ve also checked with my host and the ports are open and accessible to outside email systems.

Please advise - this is beyond frustrating.

--

2016-07-28 00:54:43 Connection: opening to ssl://smtp.zoho.com:465, timeout=300, options=array (

                                       'ssl' => 

                                       array (

                                         'verify_peer' => false,

                                         'verify_peer_name' => false,

                                         'allow_self_signed' => true,

                                       ),

                                     )

2016-07-28 00:54:44 Connection: opened

2016-07-28 00:54:44 SMTP -> get_lines(): $data is ""

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "220-a2ls15.a2hosting.com ESMTP Exim 4.87 #1 Wed, 27 Jul 2016 20:54:44 -0400 

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $data is "220-a2ls15.a2hosting.com ESMTP Exim 4.87 #1 Wed, 27 Jul 2016 20:54:44 -0400 

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "220-We do not authorize the use of this system to transport unsolicited, 

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $data is "220-a2ls15.a2hosting.com ESMTP Exim 4.87 #1 Wed, 27 Jul 2016 20:54:44 -0400 

                                     220-We do not authorize the use of this system to transport unsolicited, 

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "220 and/or bulk e-mail.

                                     "

2016-07-28 00:54:44 SERVER -> CLIENT: 220-a2ls15.a2hosting.com ESMTP Exim 4.87 #1 Wed, 27 Jul 2016 20:54:44 -0400 

                                     220-We do not authorize the use of this system to transport unsolicited, 

                                     220 and/or bulk e-mail.

2016-07-28 00:54:44 CLIENT -> SERVER: EHLO elegantchildthemes.com

2016-07-28 00:54:44 SMTP -> get_lines(): $data is ""

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "250-a2ls15.a2hosting.com Hello a2ls15.a2hosting.com [66.198.240.11]

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $data is "250-a2ls15.a2hosting.com Hello a2ls15.a2hosting.com [66.198.240.11]

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "250-SIZE 52428800

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $data is "250-a2ls15.a2hosting.com Hello a2ls15.a2hosting.com [66.198.240.11]

                                     250-SIZE 52428800

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "250-8BITMIME

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $data is "250-a2ls15.a2hosting.com Hello a2ls15.a2hosting.com [66.198.240.11]

                                     250-SIZE 52428800

                                     250-8BITMIME

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "250-PIPELINING

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $data is "250-a2ls15.a2hosting.com Hello a2ls15.a2hosting.com [66.198.240.11]

                                     250-SIZE 52428800

                                     250-8BITMIME

                                     250-PIPELINING

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "250-AUTH PLAIN LOGIN

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $data is "250-a2ls15.a2hosting.com Hello a2ls15.a2hosting.com [66.198.240.11]

                                     250-SIZE 52428800

                                     250-8BITMIME

                                     250-PIPELINING

                                     250-AUTH PLAIN LOGIN

                                     "

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "250 HELP

                                     "

2016-07-28 00:54:44 SERVER -> CLIENT: 250-a2ls15.a2hosting.com Hello a2ls15.a2hosting.com [66.198.240.11]

                                     250-SIZE 52428800

                                     250-8BITMIME

                                     250-PIPELINING

                                     250-AUTH PLAIN LOGIN

                                     250 HELP

2016-07-28 00:54:44 Auth method requested: UNKNOWN

2016-07-28 00:54:44 Auth methods available on the server: PLAIN,LOGIN

2016-07-28 00:54:44 Auth method selected: LOGIN

2016-07-28 00:54:44 CLIENT -> SERVER: AUTH LOGIN

2016-07-28 00:54:44 SMTP -> get_lines(): $data is ""

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "334 VXNlcm5hbWU6

                                     "

2016-07-28 00:54:44 SERVER -> CLIENT: 334 VXNlcm5hbWU6

2016-07-28 00:54:44 CLIENT -> SERVER: c3VwcG9ydEBlbGVnYW50Y2hpbGR0aGVtZXMuY29t

2016-07-28 00:54:44 SMTP -> get_lines(): $data is ""

2016-07-28 00:54:44 SMTP -> get_lines(): $str is  "334 UGFzc3dvcmQ6

                                     "

2016-07-28 00:54:44 SERVER -> CLIENT: 334 UGFzc3dvcmQ6

2016-07-28 00:54:44 CLIENT -> SERVER: ZGVjMTQyazI=

2016-07-28 00:54:46 SMTP -> get_lines(): $data is ""

2016-07-28 00:54:46 SMTP -> get_lines(): $str is  "535 Incorrect authentication data

                                     "

2016-07-28 00:54:46 SERVER -> CLIENT: 535 Incorrect authentication data

2016-07-28 00:54:46 SMTP ERROR: Password command failed: 535 Incorrect authentication data

2016-07-28 00:54:46 SMTP Error: Could not authenticate.

2016-07-28 00:54:46 CLIENT -> SERVER: QUIT

2016-07-28 00:54:46 SMTP -> get_lines(): $data is ""

2016-07-28 00:54:46 SMTP -> get_lines(): $str is  "221 a2ls15.a2hosting.com closing connection

                                     "

2016-07-28 00:54:46 SERVER -> CLIENT: 221 a2ls15.a2hosting.com closing connection

2016-07-28 00:54:46 Connection: closed

2016-07-28 00:54:46 SMTP Error: Could not authenticate.