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,313 thoughts on “WP Mail SMTP v0.8”

  1. I have this excellent plugin working with smtp.gmail.com but I’ve had to “allow less secure apps”. I’m not too worried because it’s an address used exclusively for mails from the site but I’d feel more comfortable if I could turn this off again. Do you have any thoughts?

    Thanks

    1. “allow less secure apps” is not limited to this plug-in, it is definitely necessary setting with an external mailer.
      It is also necessary to use POP / SMTP between gmail.

  2. Any idea why a WP site will only send email to an admin email and nowhere else? I started testing with the plugin “Test Email” then downloaded your SMTP plugin. It doesn’t matter if I choose SMTP or PHP, it only sends emails to admin address (as addressed) but not to anyone else. I also have WOOCommerce installed but turned that off along with all my other plugins. No change. Any Ideas?

  3. Hi, I’m using v0.10.1 and running into an issue that looks to happen just before a successful transmission. I’m using port 25, No Encryption and SMTP Authentication.

    2017-05-09 12:07:00 Connection: opening to us2.smtp.mailhostbox.com:25, timeout=300, options=array (
    )
    2017-05-09 12:07:00 Connection: opened
    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “”
    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “220 us2.outbound.mailhostbox.com ESMTP Postfix

    2017-05-09 12:07:00 SERVER -> CLIENT: 220 us2.outbound.mailhostbox.com ESMTP Postfix
    2017-05-09 12:07:00 CLIENT -> SERVER: EHLO ethosops.azurewebsites.net
    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “”
    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-us2.outbound.mailhostbox.com

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-PIPELINING

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-SIZE 41648128

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-VRFY

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128
    250-VRFY

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-ETRN

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128
    250-VRFY
    250-ETRN

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-STARTTLS

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128
    250-VRFY
    250-ETRN
    250-STARTTLS

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-AUTH PLAIN LOGIN

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-AUTH=PLAIN LOGIN

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250-8BITMIME

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “250 DSN

    2017-05-09 12:07:00 SERVER -> CLIENT: 250-us2.outbound.mailhostbox.com
    250-PIPELINING
    250-SIZE 41648128
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    2017-05-09 12:07:00 CLIENT -> SERVER: STARTTLS
    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “”
    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “220 2.0.0 Ready to start TLS

    2017-05-09 12:07:00 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
    2017-05-09 12:07:00 SMTP Error: Could not connect to SMTP host.
    2017-05-09 12:07:00 CLIENT -> SERVER: QUIT
    2017-05-09 12:07:00 SMTP -> get_lines(): $data is “”
    2017-05-09 12:07:00 SMTP -> get_lines(): $str is ”
    ??????U??Y
    &??J?#?x??L?]/????Q?
    u??;?~qO??TD?0%??r?L?
    h?????v?????f?S?N’=??Zz????~???x%Y\9??IT????J?S??m?????W??6>F)?K????_??]d?1?]??W#?-Z?J6???0r_??!?????d???Zu(?{?h1??p??U6?[-w?B[‘?(f??=R???a_S????F??,??1Q?.??}?”??????U?KJ???????F~j????,@????”n??N??i?G??A??a?j??{???o???l??3???6?)p!p??]??”?,%???(|?8?>??{???A?B?F ?e?Rb?L?7h?$??kdI?6-???5?&}????-??”
    2017-05-09 12:07:00 SMTP -> get_lines(): $data is ”
    ??????U??Y
    &??J?#?x??L?]/????Q?
    u??;?~qO??TD?0%??r?L?
    h?????v?????f?S?N’=??Zz????~???x%Y\9??IT????J?S??m?????W??6>F)?K????_??]d?1?]??W#?-Z?J6???0r_??!?????d???Zu(?{?h1??p??U6?[-w?B[‘?(f??=R???a_S????F??,??1Q?.??}?”??????U?KJ???????F~j????,@????”n??N??i?G??A??a?j??{???o???l??3???6?)p!p??]??”?,%???(|?8?>??{???A?B?F ?e?Rb?L?7h?$??kdI?6-???5?&}????-??”
    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “?n??Qr?d?

    2017-05-09 12:07:00 SMTP -> get_lines(): $data is ”
    ??????U??Y
    &??J?#?x??L?]/????Q?
    u??;?~qO??TD?0%??r?L?
    h?????v?????f?S?N’=??Zz????~???x%Y\9??IT????J?S??m?????W??6>F)?K????_??]d?1?]??W#?-Z?J6???0r_??!?????d???Zu(?{?h1??p??U6?[-w?B[‘?(f??=R???a_S????F??,??1Q?.??}?”??????U?KJ???????F~j????,@????”n??N??i?G??A??a?j??{???o???l??3???6?)p!p??]??”?,%???(|?8?>??{???A?B?F ?e?Rb?L?7h?$??kdI?6-???5?&}????-???n??Qr?d?

    2017-05-09 12:07:00 SMTP -> get_lines(): $str is “@??S”
    2017-05-09 12:07:00 SERVER -> CLIENT:
    ??????U??Y
    &??J?#?x??L?]/????Q?
    u??;?~qO??TD?0%??r?L?
    h?????v?????f?S?N’=??Zz????~???x%Y\9??IT????J?S??m?????W??6>F)?K????_??]d?1?]??W#?-Z?J6???0r_??!?????d???Zu(?{?h1??p??U6?[-w?B[‘?(f??=R???a_S????F??,??1Q?.??}?”??????U?KJ???????F~j????,@????”n??N??i?G??A??a?j??{???o???l??3???6?)p!p??]??”?,%???(|?8?>??{???A?B?F ?e?Rb?L?7h?$??kdI?6-???5?&}????-???n??Qr?d?
    @??S
    2017-05-09 12:07:00 SMTP ERROR: QUIT command failed:
    ??????U??Y
    &??J?#?x??L?]/????Q?
    u??;?~qO??TD?0%??r?L?
    h?????v?????f?S?N’=??Zz????~???x%Y\9??IT????J?S??m?????W??6>F)?K????_??]d?1?]??W#?-Z?J6???0r_??!?????d???Zu(?{?h1??p??U6?[-w?B[‘?(f??=R???a_S????F??,??1Q?.??}?”??????U?KJ???????F~j????,@????”n??N??i?G??A??a?j??{???o???l??3???6?)p!p??]??”?,%???(|?8?>??{???A?B?F ?e?Rb?L?7h?$??kdI?6-???5?&}????-???n??Qr?d?
    @??S
    2017-05-09 12:07:00 Connection: closed
    2017-05-09 12:07:00 SMTP Error: Could not connect to SMTP host.

  4. Hello, I generally love the plugin but I’m having issues with stability. When I run a test mail from our WP CMS, it sometimes works but sometimes doesn’t. Case in point – a customer placed three orders on our website today and I only received an order confirmation mail for one of the three orders.

    1. Sorry, I should have said a bit more… I am running our e-mail over Microsoft Office 365. Can you think of any reason we are having stability issues?

      Regards,
      Frits

Leave a Reply

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