=== HTML Emails === Contributors: batmoo Donate link: http://digitalize.ca/donate Tags: email, notification, html, html emails, html email Requires at least: 2.9 Tested up to: 2.9.2 Stable tag: 0.1 Converts the default fugly plain text email notifications into fully customizable, sweet lookin' HTML emails. == Description == Converts the default fugly, plain-text email notifications into fully customizable, sweet lookin' HTML emails. Currently, only comment notifications are included, but all other emails will be added soon (including multi-site emails for WordPress 3.0). **Notes:** * Emails are sent with readable plain-text versions for email clients that don't support HTML emails. Note: they're somewhat crude because they're auto-generated. I may decide to add decent-looking plain-text versions in the future, but that's low priority. * Emails have only been tested on Gmail, Gmail on Android, and Outlook, but should work on most email clients (including clients without HTML support). If you're using a client other than the 3 I've listed, I would appreciate [an email](mailto:batmoo@gmail.com) with info on whether the email looks like it should and works correctly. Send your questions, comments, suggestions [via email](mailto:batmoo@gmail.com). == Upgrade Notice == Nothing to see here. == Frequently Asked Questions == When I get some Frequently Asked Questions, I'll include them here. == Customizing Templates == You can fully customize the look of any of the emails by creating your own templates. Emails have two pieces: * Email Wrapper (content common across all emails) * Email Message (content unique to each email) Custom templates can be created an placed in either your theme directory or your Content directory (/wp-content/ on most sites). **Email Wrapper** The Email wrapper includes elements and markup that are common across all email notifications. It contains your html, head and body tags and any other elements that are shared across emails. To customize the email template, create a file called `html_email.php` and add it to either your theme or content directory. Note: you must include the following code in the template to work: `` **Email Message: New Comment** By default, new comment and comment moderation emails share the same template. You can create separate templates for both for each comment type by creating the following files: * `notify_postauthor_comment.php` * `notify_postauthor_trackback.php` * `notify_postauthor_pingback.php` * `notify_moderator_comment.php` * `notify_moderator_trackback.php` * `notify_moderator_pingback.php` If you don't want to customize the emails by comment type, just create the following two templates: * `notify_postauthor.php` * `notify_moderator.php` If you just want a custom template shared between the two notification types, just create the following: * `notify_comment.php` == Credits == * Blockquote image borrowed from the amazing [Wu Wei theme by Jeff Ngan](http://wordpress.org/extend/themes/wu-wei) * Plain Text conversion script by [Jon Abernathy aka Chuggnutt](http://www.chuggnutt.com/html2text.php) * Email styling inspired by [Wordpress.com Blog Subscription Notifications](http://en.support.wordpress.com/blog-subscriptions/) == Installation == 1. Upload and extract the plugin to plugins directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Enjoy sweet lookin' email notifications! == Screenshots == 1. Sample email as viewed in Gmail == Changelog == = 0.1 = * First release * Comment notification emails