content-type filter for emails
-
My e-mails being generated by this plugin are being sent and interpreted with content-type: text/plain.
How do I apply a filter so that all e-mails are sent with content-type: text/html? I need this especially for the $headers array, the “$subject” and “$from” sections. I noticed this code in new-user-approve.php:
$from_name = get_option( 'blogname' ); $headers = array( "From: \"{$from_name}\" <{$admin_email}>\n", "Content-Type: text/html; charset=\"" . get_option( 'blog_charset' )
Is that supposed to apply the content-type: html in the header? It doesn’t seem to work for me?
Please help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘content-type filter for emails’ is closed to new replies.