Ignore:
Timestamp:
2010/07/20 13:25:33 (16 years ago)
Author:
kajiwara
Message:

EC-CUBE Ver2.4.4 分コミット。詳細はこちら( http://www.ec-cube.net/release/detail.php?release_id=223)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/class/helper/SC_Helper_Mail.php

    r18177 r18758  
    33 * This file is part of EC-CUBE 
    44 * 
    5  * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 
     5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved. 
    66 * 
    77 * http://www.lockon.co.jp/ 
    … …  
    4545 
    4646    /* 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 = "") { 
    4848 
    4949        $objQuery = new SC_Query(); 
    … …  
    6666        $objSendMail = new SC_SendMail_Ex(); 
    6767        $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']; 
    6871        $error = $arrInfo['email04']; 
    6972        $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); 
    7174        $objSendMail->setTo($to, $to_name); 
    7275        $objSendMail->sendMail();    // メール送信 
    … …  
    173176        // メール送信処理 
    174177        $objSendMail = new SC_SendMail_Ex(); 
    175         $to = mb_encode_mimeheader($to); 
    176178        $bcc = $arrInfo['email01']; 
    177179        $from = $arrInfo['email03']; 
Note: See TracChangeset for help on using the changeset viewer.