• Client’s crappy web hosting recently broke all my outgoing form notification emails in WordPress 4.2.2. Something about how the email headers were being generated was making the destination servers blackhole the emails before they arrived at their destinations. Changing the forms to use the client’s free Gmail address and the Google’s Gmail API totally fixed the problem. And since it applies the settings to all WordPress mail, I was able to fix my custom scripts that use PHP’s mail() function by simply changing it to wp_mail(). Voila! Mail delivery by Google. It’s a little unfortunate that the from address is @gmail.com, but if it bothers anyone, they can move their email hosting to Google Apps I suppose. Thanks for saving me many headaches fixing this sudden deliverability problem. I like the email logging feature too… when emails go into a black hole, it’s hard to tell sometimes if they’re not sending, or just getting intercepted between sending and delivery.

The topic ‘Lets you work around crappy shared email hosting’ is closed to new replies.