Changeset 13202
- Timestamp:
- 2007/05/21 18:29:35 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/mail/sendmail.php
r13201 r13202 96 96 $mail_obj =& Mail::factory("smtp", $param); 97 97 print_r($sendResut); 98 99 $decoder =& new Mail_mimeDecode($sendResut);100 $parts = $decoder->getSendArray();101 102 list($recipients, $headers, $body) = $parts;103 98 104 $mail_object =& Mail::factory("smtp", $mail_options); 105 $mail_object->end($recipients, $header, $body); 106 break; 99 $headers['Subject'] = mb_convert_encoding($sendResut["subject"], "JIS", CHAR_CODE ); 100 $body = mb_convert_encoding($sendResut["body"], "JIS", CHAR_CODE ); 101 102 $result = $mail_obj->send( $headers["to"], $sendResut, $body ); 103 104 105 // $decoder =& new Mail_mimeDecode($sendResut); 106 // $parts = $decoder->getSendArray(); 107 // 108 // list($recipients, $headers, $body) = $parts; 109 // 110 // $mail_object =& Mail::factory("smtp", $mail_options); 111 // $mail_object->end($recipients, $header, $body); 112 // break; 107 113 108 114 } else {
Note: See TracChangeset
for help on using the changeset viewer.