Changeset 13217


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

Legend:

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

    r13216 r13217  
    8585            //$objSite->data["company_name"] = mb_convert_encoding($from_name,"JIS",CHAR_CODE); 
    8686            //iso-2022-jp¤À¤ÈÆüìʸ»ú¤¬¡©¤ÇÁ÷¿®¤µ¤ì¤ë¤Î¤ÇJIS¤ò»ÈÍѤ¹¤ë¡£ 
    87             $subjectBody = mb_encode_mimeheader($subject); 
     87            $subjectBody = mb_encode_mimeheader($subjectBody); 
    8888            $mailBody = mb_convert_encoding($mailBody, "JIS", CHAR_CODE ); 
    8989            $headers = array(  
     
    104104             
    105105            $mail_obj =& Mail::factory("smtp", $param); 
    106             print_r($mail_obj);  
    107              
    108             $headers["subject"] = mb_convert_encoding($headers["subject"], "JIS", CHAR_CODE );       
    109  
    110             $result = $mail_obj->end( $headers["to"], $headers, $body ); 
     106            print_r($mail_obj);   
     107 
     108            $result = $mail_obj->end( $headers["to"], $headers, $mailBody ); 
    111109 
    112110 
Note: See TracChangeset for help on using the changeset viewer.