Changeset 13202


Ignore:
Timestamp:
2007/05/21 18:29:35 (16 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r13201 r13202  
    9696            $mail_obj =& Mail::factory("smtp", $param); 
    9797            print_r($sendResut);  
    98                       
    99             $decoder =& new Mail_mimeDecode($sendResut);  
    100             $parts = $decoder->getSendArray();  
    101               
    102             list($recipients, $headers, $body) = $parts;  
    10398             
    104             $mail_object =& Mail::factory("smtp", $mail_options); 
    105             $mail_object->end($recipients, $header, $body);  
    106             break;              
     99            $headers['Subject'] = mb_convert_encoding($sendResut["subject"], "JIS", CHAR_CODE ); 
     100            $body = mb_convert_encoding($sendResut["body"], "JIS", CHAR_CODE );       
     101 
     102            $result = $mail_obj->send( $headers["to"], $sendResut, $body ); 
     103 
     104 
     105//          $decoder =& new Mail_mimeDecode($sendResut);  
     106//          $parts = $decoder->getSendArray();  
     107//            
     108//          list($recipients, $headers, $body) = $parts;  
     109//           
     110//          $mail_object =& Mail::factory("smtp", $mail_options); 
     111//          $mail_object->end($recipients, $header, $body);  
     112//          break;              
    107113                  
    108114        } else { 
Note: See TracChangeset for help on using the changeset viewer.