wp_mail should run MsgHTML for HTML emails
|Reported by:||batmoo||Owned by:|
PHPMailer has a function called 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.