[wp-trac] [WordPress Trac] #11376: wp_mail should run MsgHTML for HTML emails
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 9 22:47:15 UTC 2009
#11376: wp_mail should run MsgHTML for HTML emails
-----------------------------+----------------------------------------------
Reporter: batmoo | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version:
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
PHPMailer has a function called
[http://core.trac.wordpress.org/browser/trunk/wp-includes/class-
phpmailer.php#L1720 MsgHTML] that sets the email as isHTML and
automatically adds HTML and plain text versions of the message to the
email.
wp_mail should run this function if $content_type is set to text/html to
allow for max compatibility with email clients.
Should note: WordPress doesn't currently send HTML emails so this is more
of a benefit for plugins. But if we go down the road for HTML emails with
core, this will be useful...
This is a quick fix, so I can patch it up.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11376>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list