Changeset 13264
- Timestamp:
- 2007/05/22 16:34:37 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/mail/sendmail.php
r13261 r13264 91 91 ); 92 92 93 print_r($sendResut); 93 94 //-- ¥Ö¥ì¥¤¥óSMTP¥µ¡¼¥Ð¡¼IP¥¢¥É¥ì¥¹ 94 95 $param = array( … … 96 97 ,'port' => "25" 97 98 ); 98 //-- ¥á¥Ã¥»¡¼¥¸¤ò¹½ÃÛ¤¹¤ë99 $htmlBody = array(100 "head_charset" => "ISO-2022-JP"101 ,"html_encoding" => "JIS"102 ,"html_charset" => "JIS"103 );104 105 99 //-- PEAR::Mail¤ò»È¤Ã¤Æ¥á¡¼¥ëÁ÷¿®¥ª¥Ö¥¸¥§¥¯¥ÈºîÀ® 106 100 $mailObj =& Mail::factory("smtp", $param); … … 117 111 $mimeObj->setFrom($sendResut["from"]); 118 112 119 print_r($htmlBody); 120 // À°·Á¤µ¤ì¤¿ËÜʸ¤È¥Ø¥Ã¥À¤ò¼èÆÀ 121 ¡¡¡¡¡¡¡¡¡¡¡¡$body = $mimeObj->get($htmlBody); 122 ¡¡¡¡¡¡¡¡¡¡¡¡$headers = $mimeObj->headers($sendResut); 113 print_r($mimeObj->setSubject($sendResut["subject"])); 114 print_r($mimeObj->setFrom($sendResut["from"])); 123 115 124 116 // ¥á¡¼¥ëÁ÷¿®
Note: See TracChangeset
for help on using the changeset viewer.