I am trying to send e-mails using PHPmailer from my Drupal site.
As smtp server I entered: mail.mydomain.x10hosting.com:26
As username: admin+tomsm.x10hosting.com
As password: the password for the mailaccount admin
When Drupal runs cron, it sends the mails. I enabled the debug mode and this is the error I get:
SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 " SMTP -> get_lines(): $data is "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 " SMTP -> get_lines(): $data was "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 " SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $data is "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $data was "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $str is "220 and/or bulk e-mail. " SMTP -> get_lines(): $data is "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. " SMTP -> FROM SERVER: 220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] " SMTP -> get_lines(): $str is "250-SIZE 52428800 " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 " SMTP -> get_lines(): $str is "250-PIPELINING " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING " SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN " SMTP -> get_lines(): $str is "250-STARTTLS " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS " SMTP -> get_lines(): $str is "250 HELP " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP " SMTP -> FROM SERVER: 250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "235 Authentication succeeded " SMTP -> get_lines(): $data is "235 Authentication succeeded " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 OK " SMTP -> get_lines(): $data is "250 OK " SMTP -> FROM SERVER: 250 OK SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 Accepted " SMTP -> get_lines(): $data is "250 Accepted " SMTP -> FROM SERVER: 250 Accepted SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "354 Enter message, ending with "." on a line by itself " SMTP -> get_lines(): $data is "354 Enter message, ending with "." on a line by itself " SMTP -> FROM SERVER: 354 Enter message, ending with "." on a line by itself SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 OK id=1N3RTV-0004im-Ig " SMTP -> get_lines(): $data is "250 OK id=1N3RTV-0004im-Ig " SMTP -> FROM SERVER: 250 OK id=1N3RTV-0004im-Ig SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "221 lotus.x10hosting.com closing connection " SMTP -> get_lines(): $data is "221 lotus.x10hosting.com closing connection " SMTP -> FROM SERVER: 221 lotus.x10hosting.com closing connection
As smtp server I entered: mail.mydomain.x10hosting.com:26
As username: admin+tomsm.x10hosting.com
As password: the password for the mailaccount admin
When Drupal runs cron, it sends the mails. I enabled the debug mode and this is the error I get:
SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 " SMTP -> get_lines(): $data is "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 " SMTP -> get_lines(): $data was "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 " SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $data is "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $data was "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $str is "220 and/or bulk e-mail. " SMTP -> get_lines(): $data is "220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. " SMTP -> FROM SERVER: 220-lotus.x10hosting.com ESMTP Exim 4.69 #1 Thu, 29 Oct 2009 04:39:21 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] " SMTP -> get_lines(): $str is "250-SIZE 52428800 " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 " SMTP -> get_lines(): $str is "250-PIPELINING " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING " SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN " SMTP -> get_lines(): $str is "250-STARTTLS " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS " SMTP -> get_lines(): $data was "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS " SMTP -> get_lines(): $str is "250 HELP " SMTP -> get_lines(): $data is "250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP " SMTP -> FROM SERVER: 250-lotus.x10hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "235 Authentication succeeded " SMTP -> get_lines(): $data is "235 Authentication succeeded " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 OK " SMTP -> get_lines(): $data is "250 OK " SMTP -> FROM SERVER: 250 OK SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 Accepted " SMTP -> get_lines(): $data is "250 Accepted " SMTP -> FROM SERVER: 250 Accepted SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "354 Enter message, ending with "." on a line by itself " SMTP -> get_lines(): $data is "354 Enter message, ending with "." on a line by itself " SMTP -> FROM SERVER: 354 Enter message, ending with "." on a line by itself SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 OK id=1N3RTV-0004im-Ig " SMTP -> get_lines(): $data is "250 OK id=1N3RTV-0004im-Ig " SMTP -> FROM SERVER: 250 OK id=1N3RTV-0004im-Ig SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "221 lotus.x10hosting.com closing connection " SMTP -> get_lines(): $data is "221 lotus.x10hosting.com closing connection " SMTP -> FROM SERVER: 221 lotus.x10hosting.com closing connection