Closed Thread
Results 1 to 3 of 3
Like Tree3Likes
  • 1 Post By tomsm
  • 1 Post By ah-blabla
  • 1 Post By tomsm

Thread: PHPMailer error 220

  1. #1
    tomsm is offline x10Hosting Member tomsm is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Antwerp, Belgium
    Posts
    17

    PHPMailer error 220

    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
    dinomirt96 likes this.

  2. #2
    ah-blabla's Avatar
    ah-blabla is offline x10 Lieutenant ah-blabla is an unknown quantity at this point
    Join Date
    Sep 2009
    Posts
    375

    Re: PHPMailer error 220

    I don't think you have any errors in there: if you switch on debug mode you will simply get a whole load of debugging information, i.e. anything that could be useful if you are trying to fix a problem -- debugging mode is for when you are developing a site or software -- this information isn't needed for a site that is running. You said the emails are sent fine, so there isn't a problem.

    Looking a bit closer: the first 10 lines or so are showing a 220 "error": this isn't an error: 220 is the code for SMTP "Service Ready".
    Last edited by ah-blabla; 10-29-2009 at 06:16 AM.
    karimirt47 likes this.

  3. #3
    tomsm is offline x10Hosting Member tomsm is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Antwerp, Belgium
    Posts
    17

    Re: PHPMailer error 220

    Thanks for the information.
    When I switched debug mode off, the mails are send correctly.
    As SMTP server I entered: localhost
    As username: "my Cpanel login name"
    As password: "my Cpanel password"

    All is fine now.
    verlmirt17 likes this.

Closed Thread

Similar Threads

  1. phpmailer problem
    By jonathonbaker in forum Free Hosting
    Replies: 2
    Last Post: 05-31-2008, 03:10 AM
  2. PHPMailer and Hotmail Spam
    By soulhunter in forum Free Hosting
    Replies: 2
    Last Post: 04-24-2008, 12:08 PM
  3. phpmailer?
    By salukigirl in forum Programming Help
    Replies: 3
    Last Post: 04-01-2008, 07:39 AM
  4. help on phpmailer
    By lohmeyer in forum Programming Help
    Replies: 5
    Last Post: 01-15-2008, 08:49 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers