Changeset 12955


Ignore:
Timestamp:
2007/05/17 19:33:45 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r12949 r12955  
    7676        $mailBody = ereg_replace( "{name}", $customerName ,  $mail_data[$i][0]["body"] ); 
    7777 
     78        //-- ¥á¥ë¥Þ¥¬ÇÛ¿®¤ò¥Ö¥ì¥¤¥óÏ¢·È¤Ç¹Ô¤¦¾ì¹ç 
    7879        if(MELMAGA_MOBIE_SEND){ 
    79             $true = "À®¸ù"; 
    80             print_r($true); 
     80             
     81            $sendResut = BLAYN_MAIL_SENDING( 
     82                                         $list_data[$i][$j]["email"]                //¡¡¸ÜµÒ°¸Àè 
     83                                        ,$subjectBody                               //¡¡Subject 
     84                                        ,$mailBody                                  //¡¡¥á¡¼¥ëËÜʸ 
     85                                        ,$objSite->data["email03"]                  //¡¡Á÷¿®¸µ¥á¡¼¥ë¥¢¥É¥ì¥¹ 
     86                                        ,$objSite->data["company_name"]             //¡¡Á÷¿®¸µÌ¾ 
     87                                        ,$objSite->data["email03"]                  //¡¡reply_to 
     88                                        ,$objSite->data["email04"]                  //¡¡return_path 
     89                                        ,$objSite->data["email04"]                  //¡¡errors_to 
     90                                                                   ); 
     91            $smtp = array(   
     92                           'host' => "210.188.254.83" 
     93                          ,'port' => "25" 
     94                                          ); 
     95            $mailSend =& Mail::factory("SMTP", $smtp); 
     96            $mailSend->send($sendResut); 
     97             
    8198        } else { 
    8299            //-- ¥Æ¥­¥¹¥È¥á¡¼¥ëÇÛ¿®¤Î¾ì¹ç 
     
    159176    $mail_obj = new GC_SendMail();   
    160177    $mail_obj->setItem( $to, $subject, $body, $fromaddress, $from_name, $reply_to, $return_path, $errors_to, $bcc, $cc ); 
    161          
    162     if( $mail_obj->sendMail() ) { 
    163         return true; 
    164     } 
    165      
     178 
    166179} 
    167180 
Note: See TracChangeset for help on using the changeset viewer.