Changeset 12926
- Timestamp:
- 2007/05/17 17:45:28 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/mail/sendmail.php
r12917 r12926 80 80 if(MELMAGA_MOBIE_SEND){ 81 81 if($mail_data[$i][0]["mail_method"]) { 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 } 104 } 82 echo 'Å·µ¤À²Ï¯¤Ê¤ì¤ÉÇȹ⤷'; 105 83 } else { 106 84 //-- ¥Æ¥¥¹¥È¥á¡¼¥ëÇÛ¿®¤Î¾ì¹ç
Note: See TracChangeset
for help on using the changeset viewer.