Title: HTML Emails
Author: Mohammad Jangda
Published: <strong>2010년 4월 6일</strong>
Last modified: 2010년 5월 5일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/html-emails.svg)

# HTML Emails

 작성자: [Mohammad Jangda](https://profiles.wordpress.org/batmoo/)

[다운로드](https://downloads.wordpress.org/plugin/html-emails.1.0.zip)

 * [세부사항](https://ko.wordpress.org/plugins/html-emails/#description)
 * [평가](https://ko.wordpress.org/plugins/html-emails/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/html-emails/#installation)
 * [개발](https://ko.wordpress.org/plugins/html-emails/#developers)

 [지원](https://wordpress.org/support/plugin/html-emails/)

## 설명

Converts the default plain-text email notifications into fully customizable, sweet-
lookin’ HTML emails.

Multi-site support (for WordPress 3.0) will be added soon.

**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](https://ko.wordpress.org/plugins/html-emails/batmoo@gmail.com?output_format=md)
   with info on whether the email looks like it should and works correctly.

Send your questions, comments, suggestions [via email](https://ko.wordpress.org/plugins/html-emails/batmoo@gmail.com?output_format=md).

### 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). See utils.php for a number of useful
functions that you can use in your templates.

**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:

    ```
    <?php htmlize_message_body($email_templates, $email_data); ?>
    ```

The Email Wrapper has access to the following variables:

 * $email_title: (string) title of the email
 * $email_subtitle: (string) subtitle of the email
 * $email_data: (array) Associative array of various data passed by the calling 
   function

**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`

New Comment email messages have the following data variables available:

 * $comment – (obj) comment object
 * $post – (obj) post object
 * $comment_type – (string) slug for the comment_type
 * $comment_type_text – (string) friendly name for the comment_type
 * $comment_moderate – (bool) Whether the comment needs moderation or not

### Using HTML Emails in your plugin

It’s pretty easy to use. The main call you need to make is htmlize_message() and
pass the return into your wp_mail object. Details to come.

### Credits

 * Blockquote image borrowed from the amazing [Wu Wei theme by Jeff Ngan](https://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/)

## 스크린샷

[⌊New Comment email as viewed in Gmail⌉⌊New Comment email as viewed in Gmail⌉[

New Comment email as viewed in Gmail

[⌊New User email as viewed in Gmail⌉⌊New User email as viewed in Gmail⌉[

New User email as viewed in Gmail

[⌊Email as viewed in Mail.app⌉⌊Email as viewed in Mail.app⌉[

Email as viewed in Mail.app

## 설치

 1. Upload and extract the plugin to plugins directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Enjoy sweet lookin’ email notifications!

## FAQ

When I get some Frequently Asked Questions, I’ll include them here.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“HTML Emails”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

 *   [ Mohammad Jangda ](https://profiles.wordpress.org/batmoo/)

[자국어로 “HTML Emails”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/html-emails)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/html-emails/)는, [SVN 저장소](https://plugins.svn.wordpress.org/html-emails/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/html-emails/)
을 [RSS](https://plugins.trac.wordpress.org/log/html-emails/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.0 (2010-05-05)

 * Note: This version was originally released as v0.2 but users weren’t being prompted
   with an upgrade because parsefloat is dumb.
 * Feature: Support for “New User” and “Password Lost” emails
 * Bug: Moderation emai not showing the correct number of emails pending
 * Localization: Belarusian translation added. Thanks to [Marcis G](http://pc.de/).

#### 0.2 (2010-05-04)

 * Same as 1.0

#### 0.11 (2010-04-09)

 * Better localization support
 * Bug: Moderation emails were not being sent because the wp_mail call was commented
   out
 * Docs: Localization comments and addtional details on customizing templates

#### 0.1 (2010-04-04)

 * First release
 * Comment notification emails

## 기초

 *  버전 **1.0**
 *  최근 업데이트: **16년 전**
 *  활성화된 설치 **20+**
 *  워드프레스 버전 ** 2.9 또는 그 이상 **
 *  다음까지 시험됨: **3.0.5**
 *  언어
 * [English (US)](https://wordpress.org/plugins/html-emails/)
 * 태그:
 * [email](https://ko.wordpress.org/plugins/tags/email/)[html](https://ko.wordpress.org/plugins/tags/html/)
   [html email](https://ko.wordpress.org/plugins/tags/html-email/)[html emails](https://ko.wordpress.org/plugins/tags/html-emails/)
   [notification](https://ko.wordpress.org/plugins/tags/notification/)
 *  [고급 보기](https://ko.wordpress.org/plugins/html-emails/advanced/)

## 평점

 별 5점 만점에 1점.

 *  [  0/5-별점 후기     ](https://wordpress.org/support/plugin/html-emails/reviews/?filter=5)
 *  [  0/4-별점 후기     ](https://wordpress.org/support/plugin/html-emails/reviews/?filter=4)
 *  [  0/3-별점 후기     ](https://wordpress.org/support/plugin/html-emails/reviews/?filter=3)
 *  [  0/2-별점 후기     ](https://wordpress.org/support/plugin/html-emails/reviews/?filter=2)
 *  [  1/1-별점 후기     ](https://wordpress.org/support/plugin/html-emails/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/html-emails/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/html-emails/reviews/)

## 기여자

 *   [ Mohammad Jangda ](https://profiles.wordpress.org/batmoo/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/html-emails/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](http://digitalize.ca/donate)