Changeset 12861
- Timestamp:
- 2007/05/15 21:48:56 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/mail/sendmail.php
r12821 r12861 79 79 //-- ¥á¡¼¥ëÇÛ¿®¥Ö¥ì¥¤¥óÏ¢·È¤Î¾ì¹ç 80 80 if(MELMAGA_MOBIE_SEND){ 81 $str = "²¤ÊƤ«"; 82 print_r($str); 81 if($mail_data[$i][0]["mail_method"]) { 82 $mail_text = array( 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 $decoder = new Mail_mimeDecode( ); 94 $parts = $decoder->getSendArray($mail_text); 95 list( $to, $headers, $body) = $parts; 96 97 //SMTP¥µ¡¼¥Ð 98 $mail_options = array( 99 'host' => '210.188.254.83', 100 'port' => 25 101 ); 102 $mail_object =& Mail::factory("SMTP", $mail_options); 103 $mail_object->send($to, $header, $body); 104 } 83 105 } else { 84 106 //-- ¥Æ¥¥¹¥È¥á¡¼¥ëÇÛ¿®¤Î¾ì¹ç … … 155 177 156 178 179 //--- ¥á¡¼¥ëÇÛ¿®¥Ö¥ì¥¤¥óÏ¢·È¤ÎÇÛ¿® 180 function BLAYN_MAIL_SENDING( $to, $subject, $body, $fromaddress, $from_name, $reply_to, $return_path, $errors_to="", $bcc="", $cc ="" ) { 181 182 183 $mail_obj = new GC_SendMail(); 184 $mail_obj->setItem( $to, $subject, $body, $fromaddress, $from_name, $reply_to, $return_path, $errors_to, $bcc, $cc ); 185 186 if( $mail_obj->sendMail() ) { 187 return true; 188 } 189 190 } 191 157 192 //--- ¥Æ¥¥¹¥È¥á¡¼¥ëÇÛ¿® 158 193 function MAIL_SENDING( $to, $subject, $body, $fromaddress, $from_name, $reply_to, $return_path, $errors_to="", $bcc="", $cc ="" ) {
Note: See TracChangeset
for help on using the changeset viewer.