Changeset 12933


Ignore:
Timestamp:
2007/05/17 18:07:59 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r12932 r12933  
    7979        //-- ¥á¡¼¥ëÇÛ¿®¥Ö¥ì¥¤¥óÏ¢·È¤Î¾ì¹ç    
    8080        if(MELMAGA_MOBIE_SEND){ 
    81             if(MELMAGA_MOBIE_SEND) { 
    82                 //SMTP¥µ¡¼¥Ð  
    83                                         $mail_send = array(  
    84                                          'host' => '210.188.254.83',  
    85                                          'port' => '25',  
    86                                          'auth' => false,  
    87                                      'username' => '',  
    88                                          'password' => '',  
    89                                         );  
    90                                           
    91                                         $recipinets = $list_data[$i][$j]["email"];  
    92                                           
    93                                         $headers['From']    = $objSite->data["email03"];  
    94                         $headers['To']      = $list_data[$i][$j]["email"];  
    95                         $headers['Subject'] = $subjectBody;  
    96                           
    97                         $body = $mailbody;  
    98                           
    99                                         $objMail =& Mail::factory("SMTP", $mail_send);  
    100                                         $result = $objMail->send($recipients, $headers, $body);  
    101                                         if (PEAR::isError($result)) {  
    102                             die($result->getMessage());  
    103                         }  
     81            return true; 
    10482        ¡¡¡¡} else { 
    10583                //-- ¥Æ¥­¥¹¥È¥á¡¼¥ëÇÛ¿®¤Î¾ì¹ç 
Note: See TracChangeset for help on using the changeset viewer.