WP Mail SMTP v0.8

As promised, I’m releasing version 0.8 of the WP Mail SMTP plugin just a few days after WordPress 2.7 was released.

There are some big changes in this version. Firstly, I added option whitelisting to be forward compatible with WordPress. This also makes the plugin compatible with WordPressMU. However, this means version 0.8 is is only compatible with 2.7 or newer. This version will not work on WordPress 2.6.5 or earlier.

I’m going to hold off pushing this update to wordpress.org for a couple of days. I’m hoping to get some feedback from early testers. If there are no disasters, I’ll release 0.8 onto wordpress.org early next week.

Support Questions

If you have a question, please search the questions for 0.7 and the original questions before asking it here.

Please note: If you post email addresses in the body of the comments you will almost certainly receive spam. Please replace all @ symbols with something else when you post the debugging output (not in the email box, just in the comment box).

1,275 thoughts on “WP Mail SMTP v0.8”

  1. Hi Callum,
    Thank you for your great plugin.

    when sending mails it throws error

    The SMTP debugging output is shown below:

    Warning: stream_set_timeout() has been disabled for security reasons in /home/… .com/httpdocs/wp-includes/class-smtp.php on line 197

    Warning: stream_set_timeout() has been disabled for security reasons in /home/… .com/httpdocs/wp-includes/class-smtp.php on line 965

    how can we configure this error.

  2. Hi Callum

    i’m using WP 3.9.1, Login with ajax 3.1.2 and WP Mail Smtp hosted by Godaddy
    all my test’s mail come in on my admin’s box, smtp settings are ok
    my contact form 7 is ok i received mail on my admin’s box
    but when i fill for test registration’s box on ajax modal window i’m warned on admin’s box that a new user has subscribed however i didn’t get mail with pw and id on user ‘s box (my private for instance)
    i have spend days to find a clue but i didn’t succeed
    can you help ?

    thanks
    Mic

  3. We have had instances where the email address that we use to send through for clients has been deleted or has had the password changed. Have you thought about any error handling notifications to alert someone to this? I guess it couldnt be emailed if they have whacked the email functionality.

  4. Hi Callum,

    The WP Mail SMTP isn’t working for me. I have a self-hosting WP 3.9.2 blog and used smtp setting for webhost mail server. Can you help me fix this problem? I want to use the Roundcube server settings and I have OpenSSL on the server.

    FYI: I even changed smtp setting to gmail smpt as listed on http://www.callum-macdonald.com/code/wp-mail-smtp/ but the test email still isn’t working.

    Test Message Sent

    The result was:

    bool(false)
    MYSITE.com”
    [“FromName”]=>
    string(18) “MYSITE.com”
    [“Sender”]=>
    string(0) “”
    [“ReturnPath”]=>
    string(0) “”
    [“Subject”]=>
    string(52) “WP Mail SMTP: Test mail to especial@yahoo.com
    [“Body”]=>
    string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
    [“AltBody”]=>
    string(0) “”
    [“Ical”]=>
    string(0) “”
    [“MIMEBody”:protected]=>
    string(69) “This is a test email generated by the WP Mail SMTP WordPress plugin.

    [“MIMEHeader”:protected]=>
    string(473) “Date: Tue, 12 Aug 2014 23:02:16 +0000
    Return-Path:
    To: especial@yahoo.com
    From: “MYSITE.com”
    Subject: WP Mail SMTP: Test mail to especial@yahoo.com
    Message-ID:
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit


    [“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(9) “localhost”
    [“Port”]=>
    string(2) “25”
    [“Helo”]=>
    string(0) “”
    [“SMTPSecure”]=>
    string(3) “ssl”
    [“SMTPAuth”]=>
    bool(true)
    [“Username”]=>
    string(29) “hello@MYSITE.com”
    [“Password”]=>
    string(15) “zuy)hipa342@19jyr”
    [“AuthType”]=>
    string(0) “”
    [“Realm”]=>
    string(0) “”
    [“Workstation”]=>
    string(0) “”
    [“Timeout”]=>
    int(10)
    [“SMTPDebug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“SMTPKeepAlive”]=>
    bool(false)
    [“SingleTo”]=>
    bool(false)
    [“SingleToArray”]=>
    array(0) {
    }
    [“do_verp”]=>
    bool(false)
    [“AllowEmpty”]=>
    bool(false)
    [“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) “”
    [“XMailer”]=>
    string(0) “”
    [“smtp”:protected]=>
    object(SMTP)#708 (12) {
    [“Version”]=>
    string(5) “5.2.7”
    [“SMTP_PORT”]=>
    int(25)
    [“CRLF”]=>
    string(2) ”

    [“do_debug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“do_verp”]=>
    bool(false)
    [“Timeout”]=>
    int(10)
    [“Timelimit”]=>
    int(30)
    [“smtp_conn”:protected]=>
    bool(false)
    [“error”:protected]=>
    NULL
    [“helo_rply”:protected]=>
    NULL
    [“last_reply”:protected]=>
    string(0) “”
    }
    [“to”:protected]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(25) “especial@yahoo.com”
    [1]=>
    string(0) “”
    }
    }
    [“cc”:protected]=>
    array(0) {
    }
    [“bcc”:protected]=>
    array(0) {
    }
    [“ReplyTo”:protected]=>
    array(0) {
    }
    [“all_recipients”:protected]=>
    array(1) {
    [“especial@yahoo.com”]=>
    bool(true)
    }
    [“attachment”:protected]=>
    array(0) {
    }
    [“CustomHeader”:protected]=>
    array(0) {
    }
    [“lastMessageID”:protected]=>
    string(53) “”
    [“message_type”:protected]=>
    string(5) “plain”
    [“boundary”:protected]=>
    array(3) {
    [1]=>
    string(35) “b1_64f253481a333bb8baa67c2b14c12afd”
    [2]=>
    string(35) “b2_64f253481a333bb8baa67c2b14c12afd”
    [3]=>
    string(35) “b3_64f253481a333bb8baa67c2b14c12afd”
    }
    [“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)
    }

    The SMTP debugging output is shown below:

    SMTP -> ERROR: Failed to connect to server: (0)

    How do I check the server’s smtp settings so I can connect to the server?

  5. Update. It’s working. I checked the “return email” box and I am using tls encryption. The email arrived in my inbox.

  6. Hi Callum,

    I need help please. I set up the plugin, the test email work great but when I actually use it in a form on a website, the message fails to send. I’m totally confused. I use smtp.gmail.com, at first google was preventing the authentication but, I granted access to less secure apps. What could be wrong please?

  7. I’ve got several wp sites up with your plugin that works. However, a new site isn’t showing up the shortcode to insert into the Contact Page. There’s no navigation to get the form INTO the page. Seems like there used to be an icon at the top of the edit page. I don’t see anything now. I can’t make the form if I can’t get the settings to appear. Even my older pages which used to work, are now dead, with shortcode where the form used to be. WP Version 4 apparently screwed it up royally.

      1. yes, so I discovered. I realized ten minutes afterwards that I’d incorrectly assumed that yours was a form set up. Sorry.

  8. I cannot get it to send unless I check use php vs SMTP, than I get a positive test result but no emails actually send out.
    Any thoughts?

    Test Message Sent
    The result was:
    bool(false)
    The full debugging output is shown below:
    object(PHPMailer)#490 (69) {
    [“Version”]=>
    string(5) “5.2.7”
    [“Priority”]=>
    int(3)
    [“CharSet”]=>
    string(5) “UTF-8″
    [“ContentType”]=>
    string(21) “multipart/alternative”
    [“Encoding”]=>
    string(4) “8bit”
    [“ErrorInfo”]=>
    string(22) “SMTP connect() failed.”
    [“From”]=>
    string(20) “luvbyrdluv@gmail.com”
    [“FromName”]=>
    string(7) “LuvByrd”
    [“Sender”]=>
    string(20) “luvbyrdluv@gmail.com”
    [“ReturnPath”]=>
    string(0) “”
    [“Subject”]=>
    string(45) “WP Mail SMTP: Test mail to mikereff@gmail.com
    [“Body”]=>
    string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
    [“AltBody”]=>
    string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
    [“Ical”]=>
    string(0) “”
    [“MIMEBody”:protected]=>
    string(404) “–b1_b97cb2a437d6c6998a151e191540b0d3
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    This is a test email generated by the WP Mail SMTP WordPress plugin.

    –b1_b97cb2a437d6c6998a151e191540b0d3
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    This is a test email generated by the WP Mail SMTP WordPress plugin.

    –b1_b97cb2a437d6c6998a151e191540b0d3–

    [“MIMEHeader”:protected]=>
    string(470) “Date: Thu, 18 Sep 2014 22:37:20 +0000
    Return-Path:
    To: mikereff@gmail.com
    From: LuvByrd
    Subject: WP Mail SMTP: Test mail to mikereff@gmail.com
    Message-ID:
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary=”b1_b97cb2a437d6c6998a151e191540b0d3″
    Content-Transfer-Encoding: 8bit


    [“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(14) “smtp.gmail.com”
    [“Port”]=>
    string(3) “465”
    [“Helo”]=>
    string(0) “”
    [“SMTPSecure”]=>
    string(3) “ssl”
    [“SMTPAuth”]=>
    bool(true)
    [“Username”]=>
    string(20) “luvbyrdluv@gmail.com”
    [“Password”]=>
    string(13) “Vivelibre2337″
    [“AuthType”]=>
    string(0) “”
    [“Realm”]=>
    string(0) “”
    [“Workstation”]=>
    string(0) “”
    [“Timeout”]=>
    int(10)
    [“SMTPDebug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“SMTPKeepAlive”]=>
    bool(false)
    [“SingleTo”]=>
    bool(false)
    [“SingleToArray”]=>
    array(0) {
    }
    [“do_verp”]=>
    bool(false)
    [“AllowEmpty”]=>
    bool(false)
    [“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) “”
    [“XMailer”]=>
    string(0) “”
    [“smtp”:protected]=>
    object(SMTP)#571 (12) {
    [“Version”]=>
    string(5) “5.2.7”
    [“SMTP_PORT”]=>
    int(25)
    [“CRLF”]=>
    string(2) ”

    [“do_debug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“do_verp”]=>
    bool(false)
    [“Timeout”]=>
    int(10)
    [“Timelimit”]=>
    int(30)
    [“smtp_conn”:protected]=>
    bool(false)
    [“error”:protected]=>
    NULL
    [“helo_rply”:protected]=>
    NULL
    [“last_reply”:protected]=>
    string(0) “”
    }
    [“to”:protected]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(18) “mikereff@gmail.com”
    [1]=>
    string(0) “”
    }
    }
    [“cc”:protected]=>
    array(0) {
    }
    [“bcc”:protected]=>
    array(0) {
    }
    [“ReplyTo”:protected]=>
    array(0) {
    }
    [“all_recipients”:protected]=>
    array(1) {
    [“mikereff@gmail.com”]=>
    bool(true)
    }
    [“attachment”:protected]=>
    array(0) {
    }
    [“CustomHeader”:protected]=>
    array(0) {
    }
    [“lastMessageID”:protected]=>
    string(50) “”
    [“message_type”:protected]=>
    string(3) “alt”
    [“boundary”:protected]=>
    array(3) {
    [1]=>
    string(35) “b1_b97cb2a437d6c6998a151e191540b0d3″
    [2]=>
    string(35) “b2_b97cb2a437d6c6998a151e191540b0d3″
    [3]=>
    string(35) “b3_b97cb2a437d6c6998a151e191540b0d3″
    }
    [“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)
    }
    The SMTP debugging output is shown below:
    SMTP -> ERROR: Failed to connect to server: Connection refused (111)

  9. Hello,

    I am using your plugin in hopes that it will fix my email situation that I am having from the plugin Booking System (Booking Calendar) – Version 1.3.1 – Plugin site(http://dopdemo.net/wp/booking-system/). This plugin sends emails from the form half the time. I installed your plugin to see if it would help but I know that it is not reaching the plugin because I still have the issue and the wp-mail-smtp setup has a subject line that is different from the one I get when testing the booking calendar. I looked at your support and it mentions that the plugin must use wp_mail() in the plugin’s source. I checked this and it looks like the plugin uses that but I may be looking in the wrong place because it is still not working for me.

    I really need a solution for my email issue. I am really hoping I can get this to work with your plugin.

    Will you please help me?

    Thank you.

  10. Hello!
    I use wp-mail smtp plugin, please, help me to understand, how it works.

    is there a domain validation for e-mails?

  11. For some reason, all my websites using this plugin aren’t sending emails anymore… the test emails reports an email sent correctly, but it doesn’t arrive. Any help please?

  12. I am wondering is this plugin supported and designed to work with wordpress 4.x? Are there plans to keep the plugin updated with latest versions?

  13. Hi Callum,

    I love this plug-in , thanks …
    How can i change “LABELS” of fields ?
    ” Name” , ” Subject” , ” E-mail” ” Message”
    I want to change these in our language .
    thanks for solutions :)

  14. Hi Callum,

    I’ve set up your plugin successfully to use SMTP on our self-hosted server. It sends test emails just fine. However, when I try to send via Contact Form 7, it fails. I disable yours, and I send fine. Re-enable, and it fails again… I tried adding “wp_” before “mail(” in the Contact Form 7 files, refreshing, and trying again but, unfortunately, that hasn’t solved the issue…

    Given that CF7 has over 22million downloads, I’m hoping you have an idea to the issue (because it’s been brought up before and I just haven’t come across it yet) or that it would be worth your time. I love your app, so I just hope I can get it and CF7 to be friends. =)

    Thank you!
    Kylee

  15. Ugh… I hate it when you find the answer immediately after requesting help. Well, maybe not hate but it’s annoying…

    Turns out it was due to mismatched “From” lines (i.e. the emails have to be the same in both plugins or it will fail? or maybe an SMTP rejection because the CF7 didn’t match its login?)

    In any case, here’s what I found (for others who may have the issue):
    http://mariojvargas.com/2009/07/20/contact-form-7s-failed-to-send-your-message-error/

  16. This is the error i am getting. Firstly all is good but suddenly this happened.

    Test Message Sent
    The result was:
    bool(false)
    The full debugging output is shown below:
    object(PHPMailer)#606 (69) {
    [“Version”]=>
    string(5) “5.2.7”
    [“Priority”]=>
    int(3)
    [“CharSet”]=>
    string(5) “UTF-8″
    [“ContentType”]=>
    string(10) “text/plain”
    [“Encoding”]=>
    string(4) “8bit”
    [“ErrorInfo”]=>
    string(35) “SMTP Error: Could not authenticate.”
    [“From”]=>
    string(19) “contact@doncoqui.tv”
    [“FromName”]=>
    string(8) “Doncoqui”
    [“Sender”]=>
    string(0) “”
    [“ReturnPath”]=>
    string(0) “”
    [“Subject”]=>
    string(47) “WP Mail SMTP: Test mail to nizamjan73@gmail.com
    [“Body”]=>
    string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
    [“AltBody”]=>
    string(0) “”
    [“Ical”]=>
    string(0) “”
    [“MIMEBody”:protected]=>
    string(69) “This is a test email generated by the WP Mail SMTP WordPress plugin.

    [“MIMEHeader”:protected]=>
    string(428) “Date: Tue, 16 Dec 2014 21:59:09 +0000
    Return-Path:
    To: nizamjan73@gmail.com
    From: Doncoqui
    Subject: WP Mail SMTP: Test mail to nizamjan73@gmail.com
    Message-ID:
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit


    [“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(16) “smtp.doncoqui.tv”
    [“Port”]=>
    string(2) “25”
    [“Helo”]=>
    string(0) “”
    [“SMTPSecure”]=>
    string(0) “”
    [“SMTPAuth”]=>
    bool(true)
    [“Username”]=>
    string(19) “test786@doncoqui.tv”
    [“Password”]=>
    string(13) “Yaraheemu786!”
    [“AuthType”]=>
    string(0) “”
    [“Realm”]=>
    string(0) “”
    [“Workstation”]=>
    string(0) “”
    [“Timeout”]=>
    int(10)
    [“SMTPDebug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“SMTPKeepAlive”]=>
    bool(false)
    [“SingleTo”]=>
    bool(false)
    [“SingleToArray”]=>
    array(0) {
    }
    [“do_verp”]=>
    bool(false)
    [“AllowEmpty”]=>
    bool(false)
    [“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) “”
    [“XMailer”]=>
    string(0) “”
    [“smtp”:protected]=>
    object(SMTP)#607 (12) {
    [“Version”]=>
    string(5) “5.2.7”
    [“SMTP_PORT”]=>
    int(25)
    [“CRLF”]=>
    string(2) ”

    [“do_debug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“do_verp”]=>
    bool(false)
    [“Timeout”]=>
    int(10)
    [“Timelimit”]=>
    int(30)
    [“smtp_conn”:protected]=>
    int(0)
    [“error”:protected]=>
    NULL
    [“helo_rply”:protected]=>
    NULL
    [“last_reply”:protected]=>
    string(64) “221 p3plcpnl0802.prod.phx3.secureserver.net closing connection

    }
    [“to”:protected]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(20) “nizamjan73@gmail.com”
    [1]=>
    string(0) “”
    }
    }
    [“cc”:protected]=>
    array(0) {
    }
    [“bcc”:protected]=>
    array(0) {
    }
    [“ReplyTo”:protected]=>
    array(0) {
    }
    [“all_recipients”:protected]=>
    array(1) {
    [“nizamjan73@gmail.com”]=>
    bool(true)
    }
    [“attachment”:protected]=>
    array(0) {
    }
    [“CustomHeader”:protected]=>
    array(0) {
    }
    [“lastMessageID”:protected]=>
    string(50) “”
    [“message_type”:protected]=>
    string(5) “plain”
    [“boundary”:protected]=>
    array(3) {
    [1]=>
    string(35) “b1_515d2a6ca97a1b3b9f85ac0df9ef301b”
    [2]=>
    string(35) “b2_515d2a6ca97a1b3b9f85ac0df9ef301b”
    [3]=>
    string(35) “b3_515d2a6ca97a1b3b9f85ac0df9ef301b”
    }
    [“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)
    }
    The SMTP debugging output is shown below:
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “220-p3plcpnl0802.prod.phx3.secureserver.net ESMTP Exim 4.84 #2 Tue, 16 Dec 2014 14:59:09 -0700
    “SMTP -> get_lines(): $data is “220-p3plcpnl0802.prod.phx3.secureserver.net ESMTP Exim 4.84 #2 Tue, 16 Dec 2014 14:59:09 -0700
    “SMTP -> get_lines(): $data was “220-p3plcpnl0802.prod.phx3.secureserver.net ESMTP Exim 4.84 #2 Tue, 16 Dec 2014 14:59:09 -0700
    “SMTP -> get_lines(): $str is “220-We do not authorize the use of this system to transport unsolicited,
    “SMTP -> get_lines(): $data is “220-p3plcpnl0802.prod.phx3.secureserver.net ESMTP Exim 4.84 #2 Tue, 16 Dec 2014 14:59:09 -0700
    220-We do not authorize the use of this system to transport unsolicited,
    “SMTP -> get_lines(): $data was “220-p3plcpnl0802.prod.phx3.secureserver.net ESMTP Exim 4.84 #2 Tue, 16 Dec 2014 14:59:09 -0700
    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-p3plcpnl0802.prod.phx3.secureserver.net ESMTP Exim 4.84 #2 Tue, 16 Dec 2014 14:59:09 -0700
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    “SMTP -> FROM SERVER:220-p3plcpnl0802.prod.phx3.secureserver.net ESMTP Exim 4.84 #2 Tue, 16 Dec 2014 14:59:09 -0700
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    CLIENT -> SMTP: EHLO http://www.doncoqui.tv
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    “SMTP -> get_lines(): $data is “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    “SMTP -> get_lines(): $data was “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    “SMTP -> get_lines(): $str is “250-SIZE 52428800
    “SMTP -> get_lines(): $data is “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    “SMTP -> get_lines(): $data was “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    “SMTP -> get_lines(): $str is “250-8BITMIME
    “SMTP -> get_lines(): $data is “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    “SMTP -> get_lines(): $data was “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    “SMTP -> get_lines(): $str is “250-PIPELINING
    “SMTP -> get_lines(): $data is “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    “SMTP -> get_lines(): $data was “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    “SMTP -> get_lines(): $str is “250-AUTH PLAIN LOGIN
    “SMTP -> get_lines(): $data is “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    “SMTP -> get_lines(): $data was “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    “SMTP -> get_lines(): $str is “250-STARTTLS
    “SMTP -> get_lines(): $data is “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    250-STARTTLS
    “SMTP -> get_lines(): $data was “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    250-STARTTLS
    “SMTP -> get_lines(): $str is “250 HELP
    “SMTP -> get_lines(): $data is “250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    250-STARTTLS
    250 HELP
    “SMTP -> FROM SERVER:250-p3plcpnl0802.prod.phx3.secureserver.net Hello p3plcpnl0802.prod.phx3.secureserver.net [50.62.177.115]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    250-STARTTLS
    250 HELP
    CLIENT -> SMTP: AUTH LOGIN
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “334 VXNlcm5hbWU6
    “SMTP -> get_lines(): $data is “334 VXNlcm5hbWU6
    “SMTP -> FROM SERVER:334 VXNlcm5hbWU6
    CLIENT -> SMTP: dGVzdDc4NkBkb25jb3F1aS50dg==
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “334 UGFzc3dvcmQ6
    “SMTP -> get_lines(): $data is “334 UGFzc3dvcmQ6
    “SMTP -> FROM SERVER:334 UGFzc3dvcmQ6
    CLIENT -> SMTP: WWFyYWhlZW11Nzg2IQ==
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “535 Incorrect authentication data
    “SMTP -> get_lines(): $data is “535 Incorrect authentication data
    “SMTP -> FROM SERVER:535 Incorrect authentication data
    SMTP -> ERROR: Password command failed: 535 Incorrect authentication data
    CLIENT -> SMTP: QUIT
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “221 p3plcpnl0802.prod.phx3.secureserver.net closing connection
    “SMTP -> get_lines(): $data is “221 p3plcpnl0802.prod.phx3.secureserver.net closing connection
    “SMTP -> FROM SERVER:221 p3plcpnl0802.prod.phx3.secureserver.net closing connection

  17. Hi.
    Thanks for the great plugin

    The plugin was working fine with wordpress 4.0
    (using phpMail() as mailer)
    I just updated it to 4.1 and now when i test mail. it says bool(true) but the mails are not being reached.

    please update the plugin
    check below for log

    bool(true)
    The full debugging output is shown below:
    object(PHPMailer)#990 (69) {
    [“Version”]=>
    string(5) “5.2.7”
    [“Priority”]=>
    int(3)
    [“CharSet”]=>
    string(5) “UTF-8″
    [“ContentType”]=>
    string(10) “text/plain”
    [“Encoding”]=>
    string(4) “8bit”
    [“ErrorInfo”]=>
    string(0) “”
    [“From”]=>
    string(22) “contact@thekarrier.com”
    [“FromName”]=>
    string(10) “thekarrier”
    [“Sender”]=>
    string(22) “contact@thekarrier.com”
    [“ReturnPath”]=>
    string(0) “”
    [“Subject”]=>
    string(47) “WP Mail SMTP: Test mail to rishi@thekarrier.com
    [“Body”]=>
    string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
    [“AltBody”]=>
    string(0) “”
    [“Ical”]=>
    string(0) “”
    [“MIMEBody”:protected]=>
    string(69) “This is a test email generated by the WP Mail SMTP WordPress plugin.

    [“MIMEHeader”:protected]=>
    string(352) “Date: Sat, 20 Dec 2014 14:10:07 +0000
    Return-Path:
    From: thekarrier
    Message-ID:
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    [“mailHeader”:protected]=>
    string(82) “To: rishi@thekarrier.com
    Subject: WP Mail SMTP: Test mail to rishi@thekarrier.com

    [“WordWrap”]=>
    int(0)
    [“Mailer”]=>
    string(4) “mail”
    [“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(9) “localhost”
    [“Port”]=>
    int(25)
    [“Helo”]=>
    string(0) “”
    [“SMTPSecure”]=>
    string(3) “ssl”
    [“SMTPAuth”]=>
    bool(false)
    [“Username”]=>
    string(0) “”
    [“Password”]=>
    string(0) “”
    [“AuthType”]=>
    string(0) “”
    [“Realm”]=>
    string(0) “”
    [“Workstation”]=>
    string(0) “”
    [“Timeout”]=>
    int(10)
    [“SMTPDebug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“SMTPKeepAlive”]=>
    bool(false)
    [“SingleTo”]=>
    bool(false)
    [“SingleToArray”]=>
    array(0) {
    }
    [“do_verp”]=>
    bool(false)
    [“AllowEmpty”]=>
    bool(false)
    [“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) “”
    [“XMailer”]=>
    string(0) “”
    [“smtp”:protected]=>
    NULL
    [“to”:protected]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(20) “rishi@thekarrier.com”
    [1]=>
    string(0) “”
    }
    }
    [“cc”:protected]=>
    array(0) {
    }
    [“bcc”:protected]=>
    array(0) {
    }
    [“ReplyTo”:protected]=>
    array(0) {
    }
    [“all_recipients”:protected]=>
    array(1) {
    [“rishi@thekarrier.com”]=>
    bool(true)
    }
    [“attachment”:protected]=>
    array(0) {
    }
    [“CustomHeader”:protected]=>
    array(0) {
    }
    [“lastMessageID”:protected]=>
    string(49) “”
    [“message_type”:protected]=>
    string(5) “plain”
    [“boundary”:protected]=>
    array(3) {
    [1]=>
    string(35) “b1_72ef849d7ca295183f9e5e4436390592″
    [2]=>
    string(35) “b2_72ef849d7ca295183f9e5e4436390592″
    [3]=>
    string(35) “b3_72ef849d7ca295183f9e5e4436390592″
    }
    [“language”:protected]=>
    array(0) {
    }
    [“error_count”:protected]=>
    int(0)
    [“sign_cert_file”:protected]=>
    string(0) “”
    [“sign_key_file”:protected]=>
    string(0) “”
    [“sign_key_pass”:protected]=>
    string(0) “”
    [“exceptions”:protected]=>
    bool(true)
    }
    The SMTP debugging output is shown below:

  18. Hi

    The password for the SMTP is written in clear text. That is a bit of a problem because I don’t want the other admins to know my password.

    Thank you.

  19. Hola Callum que tal buen dia, estoy probando el plug in pero tengo un error al hacer la prueba, fallo de envio, estoy utilizando wordpress y pretendo usar una cuenta gmail,
    gracias
    saludos
    Javier R/Mexico

  20. Hi Callum,

    the WP-Mail SMTP plugin has fixed my contact 7 forms issues (although not sure it wasn’t a GoDaddy server config issue)…

    I am using version 0.9.5 of the plugin and noticed that in the setup page the password to the email address used for authentication is in clear text. Is this stored this way? Are there plans to protect the password in future versions?

  21. Hi Callum,
    Great plugin, thanks.

    Today I noticed an e-mail that was supposed to be send, hadn’t happened. Other mails are getting through fine.

    I’m using your plugin in combination with Gmail. My best guess is that the server just couldn’t connect to Gmail for a short moment. Thus the mail disappeared into nothing.

    It would certainly be nice to receive a notification whenever this occurs! Is that possible, or would you consider adding such a feature?

    Thanks again!

  22. Hi Callum,

    I’m using wordpress 4.1 and gravity forms 1.9.1.2 Gravity forms recommended your plug in for their forms.
    We’re having a problem sending forms to gmail accounts – it’s stopped working! It was working ok (though some forms refused to send to gmail) now, nothing goes through to gmail.

    The website will forward to my webmail and BT accounts.
    We have set these accounts with forwarders to my gmail account.

    If I email the BT andWebmail accounts direct, they forward to gmail, but they will not forward anything which comes from the website – my gravity forms.

    I need to get the forms to gmail as I need the use of the ‘canned responses’ facility on gmail to manage my booking correspondence.

    Can you advise please?

    Kind regards,

    Cathie

  23. Hi Callum,

    Thank you for this plugin.

    I have one feature request: the password for SMTP authentication is stored (and displayed) in plain text. Is it possible to make this a password field (and preferably encrypt it in the database)?

  24. Greetings to you Callum Macdonald.
    I like to make a new feature request for WP Mail SMTP.

    The request:

    (1) “Create options to set multiple smtp connections in the plugin. This will enable multiple simultaneous sending from all the connections simultaneously.”
    Some desktop mailers have this feature. If this plugin has it too, that would be very wonderful.

    (2) Create limit settings for the smtp connections in the plugin eg hourly sending number limit.

    Kindly respond about this request to my email above.
    Thank you.

  25. I have set up the plugin on my site, after email to the clients domain didn’t come through using Gravity Form – although they did come when my email which is didn’t than the domain.

    Good news is that with the plugin they are now coming through, but they are coming from the Authentication email address (allan@) from the one set up in the “From Email:” (jackie@) or the one designated in Gravity Forms.

    Thank you in advance for your help!

    Test Message Sent
    The result was:
    bool(true)
    The full debugging output is shown below:
    object(PHPMailer)#1428 (69) {
    [“Version”]=>
    string(5) “5.2.7”
    [“Priority”]=>
    int(3)
    [“CharSet”]=>
    string(5) “UTF-8″
    [“ContentType”]=>
    string(10) “text/plain”
    [“Encoding”]=>
    string(4) “8bit”
    [“ErrorInfo”]=>
    string(0) “”
    [“From”]=>
    string(22) “jackie(at)501partners.com”
    [“FromName”]=>
    string(11) “501Partners”
    [“Sender”]=>
    string(0) “”
    [“ReturnPath”]=>
    string(0) “”
    [“Subject”]=>
    string(50) “WP Mail SMTP: Test mail to caroline(at)cpdesigns.info”
    [“Body”]=>
    string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
    [“AltBody”]=>
    string(0) “”
    [“Ical”]=>
    string(0) “”
    [“MIMEBody”:protected]=>
    string(69) “This is a test email generated by the WP Mail SMTP WordPress plugin.

    [“MIMEHeader”:protected]=>
    string(443) “Date: Thu, 23 Apr 2015 15:52:55 +0000
    Return-Path:
    To: caroline(at)cpdesigns.info
    From: 501Partners
    Subject: WP Mail SMTP: Test mail to caroline(at)cpdesigns.info
    Message-ID:
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit


    [“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(14) “smtp.gmail.com”
    [“Port”]=>
    string(3) “465”
    [“Helo”]=>
    string(0) “”
    [“SMTPSecure”]=>
    string(3) “ssl”
    [“SMTPAuth”]=>
    bool(true)
    [“Username”]=>
    string(21) “allan(at)501partners.com”
    [“Password”]=>
    string(10) “Jessica1!g”
    [“AuthType”]=>
    string(0) “”
    [“Realm”]=>
    string(0) “”
    [“Workstation”]=>
    string(0) “”
    [“Timeout”]=>
    int(10)
    [“SMTPDebug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“SMTPKeepAlive”]=>
    bool(false)
    [“SingleTo”]=>
    bool(false)
    [“SingleToArray”]=>
    array(0) {
    }
    [“do_verp”]=>
    bool(false)
    [“AllowEmpty”]=>
    bool(false)
    [“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) “”
    [“XMailer”]=>
    string(0) “”
    [“smtp”:protected]=>
    object(SMTP)#1430 (12) {
    [“Version”]=>
    string(5) “5.2.7”
    [“SMTP_PORT”]=>
    int(25)
    [“CRLF”]=>
    string(2) ”

    [“do_debug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“do_verp”]=>
    bool(false)
    [“Timeout”]=>
    int(10)
    [“Timelimit”]=>
    int(30)
    [“smtp_conn”:protected]=>
    int(0)
    [“error”:protected]=>
    NULL
    [“helo_rply”:protected]=>
    NULL
    [“last_reply”:protected]=>
    string(57) “221 2.0.0 closing connection t32sm3494483qgd.21 – gsmtp

    }
    [“to”:protected]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(23) “caroline(at)cpdesigns.info”
    [1]=>
    string(0) “”
    }
    }
    [“cc”:protected]=>
    array(0) {
    }
    [“bcc”:protected]=>
    array(0) {
    }
    [“ReplyTo”:protected]=>
    array(0) {
    }
    [“all_recipients”:protected]=>
    array(1) {
    [“caroline(at)cpdesigns.info”]=>
    bool(true)
    }
    [“attachment”:protected]=>
    array(0) {
    }
    [“CustomHeader”:protected]=>
    array(0) {
    }
    [“lastMessageID”:protected]=>
    string(50) “”
    [“message_type”:protected]=>
    string(5) “plain”
    [“boundary”:protected]=>
    array(3) {
    [1]=>
    string(35) “b1_57e8a37ebd8b59bfdba739c29fdaba97″
    [2]=>
    string(35) “b2_57e8a37ebd8b59bfdba739c29fdaba97″
    [3]=>
    string(35) “b3_57e8a37ebd8b59bfdba739c29fdaba97″
    }
    [“language”:protected]=>
    array(0) {
    }
    [“error_count”:protected]=>
    int(0)
    [“sign_cert_file”:protected]=>
    string(0) “”
    [“sign_key_file”:protected]=>
    string(0) “”
    [“sign_key_pass”:protected]=>
    string(0) “”
    [“exceptions”:protected]=>
    bool(true)
    }
    The SMTP debugging output is shown below:
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “220 mx.google.com ESMTP t32sm3494483qgd.21 – gsmtp
    “SMTP -> get_lines(): $data is “220 mx.google.com ESMTP t32sm3494483qgd.21 – gsmtp
    “SMTP -> FROM SERVER:220 mx.google.com ESMTP t32sm3494483qgd.21 – gsmtp
    CLIENT -> SMTP: EHLO 501partners.com
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “250-mx.google.com at your service, [2604:180::8281:5e47]
    “SMTP -> get_lines(): $data is “250-mx.google.com at your service, [2604:180::8281:5e47]
    “SMTP -> get_lines(): $data was “250-mx.google.com at your service, [2604:180::8281:5e47]
    “SMTP -> get_lines(): $str is “250-SIZE 35882577
    “SMTP -> get_lines(): $data is “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    “SMTP -> get_lines(): $data was “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    “SMTP -> get_lines(): $str is “250-8BITMIME
    “SMTP -> get_lines(): $data is “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    “SMTP -> get_lines(): $data was “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    “SMTP -> get_lines(): $str is “250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    “SMTP -> get_lines(): $data is “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    “SMTP -> get_lines(): $data was “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    “SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES
    “SMTP -> get_lines(): $data is “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    “SMTP -> get_lines(): $data was “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    “SMTP -> get_lines(): $str is “250-PIPELINING
    “SMTP -> get_lines(): $data is “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    “SMTP -> get_lines(): $data was “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    “SMTP -> get_lines(): $str is “250-CHUNKING
    “SMTP -> get_lines(): $data is “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    “SMTP -> get_lines(): $data was “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    “SMTP -> get_lines(): $str is “250 SMTPUTF8
    “SMTP -> get_lines(): $data is “250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    250 SMTPUTF8
    “SMTP -> FROM SERVER:250-mx.google.com at your service, [2604:180::8281:5e47]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    250 SMTPUTF8
    CLIENT -> SMTP: AUTH LOGIN
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “334 VXNlcm5hbWU6
    “SMTP -> get_lines(): $data is “334 VXNlcm5hbWU6
    “SMTP -> FROM SERVER:334 VXNlcm5hbWU6
    CLIENT -> SMTP: YWxsYW5ANTAxcGFydG5lcnMuY29t
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “334 UGFzc3dvcmQ6
    “SMTP -> get_lines(): $data is “334 UGFzc3dvcmQ6
    “SMTP -> FROM SERVER:334 UGFzc3dvcmQ6
    CLIENT -> SMTP: SmVzc2ljYTEhZw==
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “235 2.7.0 Accepted
    “SMTP -> get_lines(): $data is “235 2.7.0 Accepted
    “SMTP -> FROM SERVER:235 2.7.0 Accepted
    CLIENT -> SMTP: MAIL FROM:
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “250 2.1.0 OK t32sm3494483qgd.21 – gsmtp
    “SMTP -> get_lines(): $data is “250 2.1.0 OK t32sm3494483qgd.21 – gsmtp
    “SMTP -> FROM SERVER:250 2.1.0 OK t32sm3494483qgd.21 – gsmtp
    CLIENT -> SMTP: RCPT TO:
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “250 2.1.5 OK t32sm3494483qgd.21 – gsmtp
    “SMTP -> get_lines(): $data is “250 2.1.5 OK t32sm3494483qgd.21 – gsmtp
    “SMTP -> FROM SERVER:250 2.1.5 OK t32sm3494483qgd.21 – gsmtp
    CLIENT -> SMTP: DATA
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “354 Go ahead t32sm3494483qgd.21 – gsmtp
    “SMTP -> get_lines(): $data is “354 Go ahead t32sm3494483qgd.21 – gsmtp
    “SMTP -> FROM SERVER:354 Go ahead t32sm3494483qgd.21 – gsmtp
    CLIENT -> SMTP: Date: Thu, 23 Apr 2015 15:52:55 +0000
    CLIENT -> SMTP: Return-Path:
    CLIENT -> SMTP: To: caroline(at)cpdesigns.info
    CLIENT -> SMTP: From: 501Partners
    CLIENT -> SMTP: Subject: WP Mail SMTP: Test mail to caroline(at)cpdesigns.info
    CLIENT -> SMTP: Message-ID:
    CLIENT -> SMTP: X-Priority: 3
    CLIENT -> SMTP: X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    CLIENT -> SMTP: MIME-Version: 1.0
    CLIENT -> SMTP: Content-Type: text/plain; charset=UTF-8
    CLIENT -> SMTP: Content-Transfer-Encoding: 8bit
    CLIENT -> SMTP:
    CLIENT -> SMTP: This is a test email generated by the WP Mail SMTP WordPress plugin.
    CLIENT -> SMTP:
    CLIENT -> SMTP: .
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “250 2.0.0 OK 1429804376 t32sm3494483qgd.21 – gsmtp
    “SMTP -> get_lines(): $data is “250 2.0.0 OK 1429804376 t32sm3494483qgd.21 – gsmtp
    “SMTP -> FROM SERVER:250 2.0.0 OK 1429804376 t32sm3494483qgd.21 – gsmtp
    CLIENT -> SMTP: QUIT
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “221 2.0.0 closing connection t32sm3494483qgd.21 – gsmtp
    “SMTP -> get_lines(): $data is “221 2.0.0 closing connection t32sm3494483qgd.21 – gsmtp
    “SMTP -> FROM SERVER:221 2.0.0 closing connection t32sm3494483qgd.21 – gsmtp

    1. That’s a gmail thing. Gmail always changes the from address to be whatever address you use. You could try a free account with mandrill or sendgrid, but with gmail, there’s no way round it.

  26. Hi,

    Great plug in.
    I use you plug in in 3 wordpress sites.
    I want to use 3 gmail address(each site)
    But only one gmail works
    Other gmails could not send email just fail.
    So all setting is perfect.
    Because 1 gmail works.
    I changed 3emails password in same letters.
    But only 1 gmail work.
    Please help.

    Thanks,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>