Changeset 13145


Ignore:
Timestamp:
2007/05/18 21:38:37 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r13144 r13145  
    8080        if(MELMAGA_MOBILE_SEND){ 
    8181              
    82             $masuo = "¤ó¡¼¡©"; 
    83             print_r($masuo); 
    84             break; 
     82            $sendResut = MELMAGA_SENDING(  
     83                                         $list_data[$i][$j]["email"]   //¡¡¸ÜµÒ°¸Àè  
     84                                        ,$subjectBody                  //¡¡Subject  
     85                                        ,$mailBody                     //¡¡¥á¡¼¥ëËÜʸ  
     86                                        ,$objSite->data["email03"]     //¡¡Á÷¿®¸µ¥á¡¼¥ë¥¢¥É¥ì¥¹  
     87                                        ,$objSite->data["company_name"]//¡¡Á÷¿®¸µÌ¾  
     88                                        ,$objSite->data["email03"]     //¡¡reply_to  
     89                                        ,$objSite->data["email04"]     //¡¡return_path  
     90                                        ,$objSite->data["email04"]     //¡¡errors_to  
     91                                                                                                                                                         );  
     92                      
     93//                      $mail_options = array(    
     94//                            //¥Ö¥ì¥¤¥ó¤ÎSMTP¥µ¡¼¥Ð¡¼IP¥¢¥É¥ì¥¹  
     95//                           'host' => "mail.lockon.co.jp"  
     96//                          ,'port' => "25"  
     97//                                               
     98//                                          );  
     99//              
     100                    print_r($sendResut);  
     101                      
     102                    $decoder =& new Mail_mimeDecode($sendResut);  
     103                    print_r($decoder);  
     104                    $parts = $decoder->getSendArray();  
     105                    print_r($parts);  
     106                    list($recipients, $header, $body) = $parts;  
     107                      
     108                    //$mailSend =& Mail::factory("SMTP", $mail_options);  
     109                    $mailSend =& Mail::factory("SMTP");  
     110                    print_r($mailSend);  
     111                    $mailSend->send($recipients, $header, $body);  
     112                    break;              
    85113                  
    86114        } else { 
     
    165193    $mail_obj = new GC_SendMail();   
    166194    $mail_obj->setItem( $to, $subject, $body, $fromaddress, $from_name, $reply_to, $return_path, $errors_to, $bcc, $cc ); 
    167       if( $mail_obj->sendMail() ) { 
     195      if(MELMAGA_MOBILE_SEND) { 
    168196        return true; 
    169197    } 
Note: See TracChangeset for help on using the changeset viewer.