Changeset 13264


Ignore:
Timestamp:
2007/05/22 16:34:37 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r13261 r13264  
    9191                                                                       ); 
    9292                                                                        
     93            print_r($sendResut); 
    9394            //-- ¥Ö¥ì¥¤¥óSMTP¥µ¡¼¥Ð¡¼IP¥¢¥É¥ì¥¹  
    9495            $param = array(    
     
    9697                      ,'port' => "25"                   
    9798                                                  ); 
    98             //-- ¥á¥Ã¥»¡¼¥¸¤ò¹½ÃÛ¤¹¤ë 
    99             $htmlBody = array( 
    100                "head_charset"  => "ISO-2022-JP"  
    101               ,"html_encoding" => "JIS" 
    102               ,"html_charset"  => "JIS" 
    103                                                   ); 
    104              
    10599            //-- PEAR::Mail¤ò»È¤Ã¤Æ¥á¡¼¥ëÁ÷¿®¥ª¥Ö¥¸¥§¥¯¥ÈºîÀ® 
    106100            $mailObj =& Mail::factory("smtp", $param); 
     
    117111            $mimeObj->setFrom($sendResut["from"]); 
    118112             
    119             print_r($htmlBody); 
    120             // À°·Á¤µ¤ì¤¿ËÜʸ¤È¥Ø¥Ã¥À¤ò¼èÆÀ 
    121 ¡¡¡¡¡¡¡¡¡¡¡¡$body = $mimeObj->get($htmlBody); 
    122 ¡¡¡¡¡¡¡¡¡¡¡¡$headers = $mimeObj->headers($sendResut); 
     113            print_r($mimeObj->setSubject($sendResut["subject"])); 
     114            print_r($mimeObj->setFrom($sendResut["from"])); 
    123115             
    124116            // ¥á¡¼¥ëÁ÷¿® 
Note: See TracChangeset for help on using the changeset viewer.