Changeset 13174


Ignore:
Timestamp:
2007/05/21 12:49:26 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r13171 r13174  
    9090            $mail_options = array(    
    9191                        //¥Ö¥ì¥¤¥ó¤ÎSMTP¥µ¡¼¥Ð¡¼IP¥¢¥É¥ì¥¹  
    92                               'host' => "127.0.1"  
     92                              'host' => "127.0.0.1"  
    9393                             ,'port' => "25"                   
    9494                                          );  
     
    101101            //print_r($parts);  
    102102            list($recipients, $header, $body) = $parts;  
    103                       
    104             //$mailSend =& Mail::factory("SMTP", $mail_options);  
    105             $mailSend =& Mail::factory("SMTP");  
    106             //print_r($mailSend);  
     103             
     104            $mailSend = new Mail();           
     105            $mailSend =& Mail::factory("SMTP", $mail_options); 
    107106            $mailSend->send($recipients, $header, $body);  
    108107            break;              
Note: See TracChangeset for help on using the changeset viewer.