Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Plugins
    In reply to: wp_mail_content_type

    Hi Guys

    There is the filter for content type though I have never got it to work or find anyone who has got it to work. Instead the the trick is to build a custom header with the MIME, Content Type. Below is an example.

    $headers= "MIME-Version: 1.0\n" .
            "From: Me <[email protected]>\n" .
            "Content-Type: text/html; charset=\"" .
    get_option('blog_charset') . "\"\n";
    wp_mail($emailaddress, $subject, $content, $headers);

    Dale
    CreateMy.com.au

Viewing 1 replies (of 1 total)