Categories
technology

Posting Rich Text Email

I have created a hack for wp-mail.php that allows rich text emails to be processed. I call it wp-mail-rich. To use it you simply copy the wp-mail-rich.php file in the folder where WordPress is installed (where the wp-mail.php
file is) and use wp-mail-rich.php in place of wp-mail.php. If you have a cron job, just point it to the new file. To rollback just point it back to the old file.

I have also included some files that I used to test and develop this – in case anyone wanted to make further modifications. Instructions are in the readme.txt file.

Download wp-mail-rich.

I have only tested this with Gmail so it is possible that other rich text emails might not be exactly right coming from Yahoo, Hotmail, or your company mail server. Let me know if this is the case.

By David

David is the father of 8 children. When he's not busy with that full time occupation he works as a technology professional. He enjoys discussing big issues with informed people, cooking, gardening, vexillology (flag design), and tinkering.