Changeset 17484


Ignore:
Timestamp:
2008/07/31 14:36:30 (13 years ago)
Author:
yomoro
Message:

#326 メール差出人の文字化けを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/SC_SendMail.php

    r17109 r17484  
    111111    // 件名の設定 
    112112    function setSubject($subject) { 
    113         $this->subject = mb_encode_mimeheader($subject); 
     113        $this->subject = mb_encode_mimeheader($subject, "JIS", 'B', "\n"); 
    114114    } 
    115115 
     
    151151                if(OS_TYPE != 'WIN') { 
    152152                    // windowsでは文字化けするので使用しない。 
    153                     $_name = mb_convert_encoding($_name,"JIS",CHAR_CODE); 
     153                    // $_name = mb_convert_encoding($_name,"JIS",CHAR_CODE); 
    154154                } 
    155                 $_name = mb_encode_mimeheader($_name); 
     155                $_name = mb_encode_mimeheader($_name, "JIS", 'B', "\n"); 
    156156                $name_address = "\"". $_name . "\"<" . $mail_address . ">"; 
    157157            } else { 
Note: See TracChangeset for help on using the changeset viewer.