Ignore:
Timestamp:
2007/05/21 20:17:04 (15 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/mail/sendmail.php

    r13212 r13213  
    8181            //ʸ»ú¤òÆüËܸì¤ËÀßÄê 
    8282            Mb_language( "Japanese" ); 
    83             // ¥Ø¥Ã¥À¡¼¤ËÆüËܸì¤ò»ÈÍѤ¹¤ë¾ì¹ç¤ÏMb_encode_mimeheader¤Ç¥¨¥ó¥³¡¼¥É¤¹¤ë¡£ 
    84             //$objSite->data["company_name"] = ereg_replace("<","¡ã", $from_name); 
    85             //$objSite->data["company_name"] = ereg_replace(">","¡ä", $from_name); 
     83            $objSite->data["company_name"] = ereg_replace("<","¡ã", $from_name); 
     84            $objSite->data["company_name"] = ereg_replace(">","¡ä", $from_name); 
    8685            $objSite->data["company_name"] = mb_convert_encoding($from_name,"JIS",CHAR_CODE); 
    8786            //iso-2022-jp¤À¤ÈÆüìʸ»ú¤¬¡©¤ÇÁ÷¿®¤µ¤ì¤ë¤Î¤ÇJIS¤ò»ÈÍѤ¹¤ë¡£ 
     87            $subjectBody = mb_encode_mimeheader($subject); 
    8888            $mailBody = mb_convert_encoding($mailBody, "JIS", CHAR_CODE ); 
    8989            $headers = array(  
     
    9696                                                                       ); 
    9797            print_r($headers); 
     98            print_r($mailBody); 
    9899            //¥Ö¥ì¥¤¥óSMTP¥µ¡¼¥Ð¡¼IP¥¢¥É¥ì¥¹  
    99100            $param = array(    
Note: See TracChangeset for help on using the changeset viewer.