source: branches/feature-module-update/data/downloads/module2/mdl_speedmail/SC_SendMail_Ex.php @ 16339

Revision 16339, 891 bytes checked in by naka, 15 years ago (diff)
Line 
1<?php
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7
8// {{{ requires
9require_once(CLASS_PATH . "SC_SendMail.php");
10require_once(realpath(dirname( __FILE__)) . "/include.php");
11
12/**
13 * メール送信クラス(拡張).
14 *
15 * SC_SendMail をカスタマイズする場合はこのクラスを使用する.
16 *
17 * @package
18 * @author LOCKON CO.,LTD.
19 * @version $Id: SC_SendMail_Ex.php 16326 2007-10-08 10:26:55Z naka $
20 */
21class SC_SendMail_Ex extends SC_SendMail {
22    function SC_SendMail_Ex() {
23        parent::SC_SendMail();
24    }
25   
26    //  TXTメール送信を実行する
27    function sendMail() {
28        $this->setReturnPath(ERROR_MAIL);
29        return parent::sendMail();
30    }
31   
32    // HTMLメール送信を実行する
33    function sendHtmlMail() {
34        $this->setReturnPath(ERROR_MAIL);
35        return parent::sendHtmlMail();
36    }   
37}
38?>
Note: See TracBrowser for help on using the repository browser.