WP Better Emails



All emails from WordPress (lost password, notifications, etc.) are sent by default in text/plain format. WP Better
Emails wraps them with a much better looking customizable HTML email template and lets you also set your own sender name and email address.

  • WP Better Emails comes with a default simple and clean template that has been tested on various and popular email clients
    like Gmail, Yahoo Mail, Hotmail/Live, AOL, Outlook, Apple Mail and many more. This to ensure your emails will always display
    nicely in your recipient mailbox. But you can of course design your own.
  • WP Better Emails lets you send sample emails to test and preview your own custom HTML email template.
  • Watch your HTML email template during editing with the live preview.
  • Fancy HTML editor with CodeMirror syntax highlighting.
  • Supports WpMandrill plugin
  • All emails sent by this plugin are sent as multipart so that email clients that dont support HTML can read them.
  • Include some dynamic tags in your template such as your blog URL, home URL, blog name, blog description, admin email or date and time. They will all be
    replaced when sending the email.
  • Add your own tags with WordPress filters (see FAQ for usage).
  • The default template is included as an HTML file in the plugin folder, feel free to edit it with your favorite editor.
  • Clean uninstall process, doesnt leave some useless data in your database when deleted, you can easily give it a try !

Example usages :

  • Brand your emails to your website or client website
  • Add some ads/sponsored links to every email sent with wordpress
  • Include some banners to promote a special event or feature of your website


WP Better Emails is currently available in :

Im looking for translators to extend to other languages. If you have translated the plugin in your language or want to,
please let me know : wpbetteremails [ at ]


This plugin is free and developed on my spare time. Please consider reading the FAQ and the support guide before posting new topics. Many of them have already been resolved.


WP Better Emails is also available on GitHub.


CodeMirror library



  1. Extract and upload the wp-better-emails folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in the WordPress admin panel
  3. (Optional) Set a sender email and name, if none, wordpress defaults will be used : [email protected] and Your Blog Title
  4. (Optional) Edit your own email template. See the screenshot tab to have a look at the default template
  5. Every email going out from your WordPress Blog (notifications, lost password, etc.) looks better now !


WP Better Emails sends all emails in both formats (multipart, i.e. HTML and plain text) so that emails can be displayed in every email client.

Be sure to include the %content% tag in your template. WP Better Emails wrap the content with the template, if no tag
is found, sending HTML emails is automatically desactivated.

WP Better Emails wraps every text/plain email sent with the WordPress function wp_mail().

Just delete and reinstall the plugin from the admin panel.

WP Better Emails only wraps text/plain emails. By default, SB Welcome Editor sends email as HTML, with no style but as text/html. Be sure to set the SB Welcome Editor format option to text.

You can filter the tags array and add your replacements. Lets say you want to randomly display some sponsored links somewhere in your email template:

add_filter('wpbe_tags', 'add_my_tags'); function add_my_tags( $tags ) {     $ads = array('Sponsored link 1', 'Sponsored link 2', 'Sponsored link 3');     $tags['sponsored_link'] = $ads[array_rand($ads, 1)];     return $tags; } 

The key of the array sponsored_link will be a new tag (%sponsored_link%) you can include. It will be randomly replaced with one of your sponsored links.

The example above is taking sponsored links as an additinonal content but you can imagine anything like including lastest posts, a quote of the day or whatever.
You can place this function in your functions.php theme file or in a plugin.

  • wpbe_html_body (filter) will let you apply your own logic on HTML emails
  • wpbe_plaintext_body (filter) will let you apply your own logic on plain text emails
  • wpbe_convert_line_breaks (filter) will let remove line breaks conversion
  • wpbe_convert_urls (filter) will let you remove links conversion

Leave a Reply

Your email address will not be published.

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

Most Viewed Posts