Changeset 18758 for trunk/data/class/helper/SC_Helper_Mail.php
- Timestamp:
- 2010/07/20 13:25:33 (16 years ago)
- File:
-
- 1 edited
-
trunk/data/class/helper/SC_Helper_Mail.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/class/helper/SC_Helper_Mail.php
r18177 r18758 3 3 * This file is part of EC-CUBE 4 4 * 5 * Copyright(c) 2000-20 07LOCKON CO.,LTD. All Rights Reserved.5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved. 6 6 * 7 7 * http://www.lockon.co.jp/ … … 45 45 46 46 /* DBに登録されたテンプレートメールの送信 */ 47 function sfSendTemplateMail($to, $to_name, $template_id, &$objPage ) {47 function sfSendTemplateMail($to, $to_name, $template_id, &$objPage, $from_address = "", $from_name = "", $reply_to = "") { 48 48 49 49 $objQuery = new SC_Query(); … … 66 66 $objSendMail = new SC_SendMail_Ex(); 67 67 $from = $arrInfo['email03']; 68 if ($from_address == "") $from_address = $arrInfo['email03']; 69 if ($from_name == "") $from_name = $arrInfo['shop_name']; 70 if ($reply_to == "") $reply_to = $arrInfo['email03']; 68 71 $error = $arrInfo['email04']; 69 72 $tosubject = $tmp_subject; 70 $objSendMail->setItem('', $tosubject, $body, $from , $arrInfo['shop_name'], $from, $error, $error);73 $objSendMail->setItem('', $tosubject, $body, $from_address, $from_name, $reply_to, $error, $error); 71 74 $objSendMail->setTo($to, $to_name); 72 75 $objSendMail->sendMail(); // メール送信 … … 173 176 // メール送信処理 174 177 $objSendMail = new SC_SendMail_Ex(); 175 $to = mb_encode_mimeheader($to);176 178 $bcc = $arrInfo['email01']; 177 179 $from = $arrInfo['email03'];
Note: See TracChangeset
for help on using the changeset viewer.
