Plugin Directory

Changeset 436740


Ignore:
Timestamp:
09/12/2011 11:28:33 AM (14 years ago)
Author:
.fay
Message:

fixing text/html content type for outllook

Location:
wp-comment-notifier-for-all/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-comment-notifier-for-all/trunk/readme.txt

    r417977 r436740  
    22
    33Contributors: Fayçal Tirich
    4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=HDB7NGZL7BDXG&lc=US&item_name=%2eFay%20Labs&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
     4Donate link: http://faycaltirich.blogspot.com/1979/01/wp-comment-notifier-for-all.html
    55Tags: notify, comment, notifier
    66Requires at least: 3.0
    77Tested up to: 3.2.1
    8 Stable tag: 2.2
     8Stable tag: 2.2.1
    99
    1010Notify all Wordpress users (and not only the admin) on comment approval.
     
    2727== Changelog ==
    2828
     29= 2.2.1 =
     30* Fixing a text/html content type problem with some email clients
     31
    2932= 2.2 =
    3033* Adding [BLOG_NAME] as template to the notification body
  • wp-comment-notifier-for-all/trunk/wp-comment-notifier-for-all.php

    r417976 r436740  
    44 Plugin URI: http://faycaltirich.blogspot.com/1979/01/wp-comment-notifier-for-all.html
    55 Description: Notify all Wordpress users (and not only the admin) on on comment approval.
    6  Version: 2.2
     6 Version: 2.2.1
    77 Author: Fayçal Tirich
    88 Author URI: http://faycaltirich.blogspot.com
     
    142142    $message_headers = "From: ".$cnfa_from."\n";
    143143    $message_headers .= "MIME-Version: 1.0\n";
    144     $rand = md5(time());
    145     $mime_boundary = "----.fay----".$rand;
    146     $message_headers .= "Content-Type: multipart/alternative; boundary=\"$mime_boundary\"\n";
    147 
    148     $message .= "--$mime_boundary\n";
    149     $message .= "Content-Type: text/html; charset=UTF-8\n";
    150     $message .= "Content-Transfer-Encoding: 8bit\n\n";
     144    $message_headers .= "Content-type: text/html; charset=UTF-8\r\n";
     145
    151146    $message .= "<html>\n";
    152147    $message .= "<body style=\"font-family:Verdana, Verdana, Geneva, sans-serif; font-size:12px; color:#666666;\">\n";
     
    156151    $message .= "</body>\n";
    157152    $message .= "</html>\n";
    158     $message .= "--$mime_boundary--\n\n";
    159153   
    160154    add_filter('wp_mail_charset', 'cnfa_get_mail_charset');
Note: See TracChangeset for help on using the changeset viewer.