Title: email not displaying correctly
Last modified: August 30, 2016

---

# email not displaying correctly

 *  [ewilley](https://wordpress.org/support/users/ewilley/)
 * (@ewilley)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/email-not-displaying-correctly/)
 * When I send a reminder email the message doesn’t display correctly.
    Ex: <p>This
   message is a reminder created on Wednesday, July 29, 2015</p> <p>**REMINDER:**
   <br
 * Also the Scheduled and Sent Reminders are not displaying.
    I deactivated and 
   deleted the plugin and installed it again with no change.
 * [https://wordpress.org/plugins/email-reminder/](https://wordpress.org/plugins/email-reminder/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Marlimant](https://wordpress.org/support/users/marlimant/)
 * (@marlimant)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/email-not-displaying-correctly/#post-6380418)
 * I have the same issue 🙁
    Please someone help us, the fix appear to be in pogidude-
   reminder.php a file with only 45 lines of code.
 * Thank you!
 *  [willettdave](https://wordpress.org/support/users/willettdave/)
 * (@willettdave)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/email-not-displaying-correctly/#post-6380426)
 * I have this problem too. Is there a way to format a pretty email so what the 
   recipient receives looks better>?
 *  [KarlEngstrom](https://wordpress.org/support/users/karlengstrom/)
 * (@karlengstrom)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/email-not-displaying-correctly/#post-6380433)
 * I have the same problem. The emails are getting sent as plain text and the template
   is formatted html. Seeing as pogidude isn’t addressing this, I’ll see if I can
   come up with a hack on it…
 *  [KarlEngstrom](https://wordpress.org/support/users/karlengstrom/)
 * (@karlengstrom)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/email-not-displaying-correctly/#post-6380435)
 * Hi Folks-
    Here’s a fix for the html email thing. It will require you to make
   changes each time the plugin is updated until the author makes the changes.
 * Edit PDER.php file, located in the /wp-content/plugins/email-reminder/includes/
   classes directory
 * At line 41, there the start of a function
    `public static function send_ereminders(){`
 * Add this code right below it
 *     ```
       add_filter( 'wp_mail_content_type', function( $content_type ) {
            return 'text/html';
       });
       ```
   
 * If that doesn’t work you probably have an old version of PHP installed. In that
   case use this
 *     ```
       add_filter( 'wp_mail_content_type', 'set_content_type' );
       function set_content_type( $content_type ) {
            return 'text/html';
       }
       ```
   
 * That should take care of it. Now there is a line at 60 that has a headers definition
   for text/html but it doesn’t work
 *     ```
       $headers = 	__('From: Email Reminder', 'email-reminder') . "<{$author_email}>\r\n" . "Content-Type:
       			text/html;\r\n";
       ```
   
 * and if that causes you any conflict, you can change it to
 *     ```
       $headers = 	__('From: Email Reminder', 'email-reminder') . "<{$author_email}>\r\n";
       ```
   
 * Any other formatting you want to do to the emails you received can be done in
   this file as well. Just remember, updates will eliminate your changes unless 
   the author updates the files being distributed.
 *  [Marlimant](https://wordpress.org/support/users/marlimant/)
 * (@marlimant)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/email-not-displaying-correctly/#post-6380436)
 * Thank you very much Karl!
    That’s what I love WordPress, this fantastic community,
   with people like you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘email not displaying correctly’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/email-reminder_e5e366.svg)
 * [Email Reminder](https://wordpress.org/plugins/email-reminder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-reminder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-reminder/)
 * [Active Topics](https://wordpress.org/support/plugin/email-reminder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-reminder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-reminder/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Marlimant](https://wordpress.org/support/users/marlimant/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/email-not-displaying-correctly/#post-6380436)
 * Status: not resolved