Файл: upload/include/library/phpfox/mail/interface.class.php
Строк: 32
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
* Email Driver Template
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox
* @version $Id: interface.class.php 1666 2010-07-07 08:17:00Z Raymond_Benc $
*/
interface Phpfox_Mail_Interface
{
/**
* Sends out an email.
*
* @param mixed $mTo Can either be a persons email (STRING) or an ARRAY of emails.
* @param string $sSubject Subject message of the email.
* @param string $sTextPlain Plain text of the message.
* @param string $sTextHtml HTML version of the message.
* @param string $sFromName Name the email is from.
* @param string $sFromEmail Email the email is from.
* @return bool TRUE on success, FALSE on failure.
*/
public function send($mTo, $sSubject, $sTextPlain, $sTextHtml, $sFromName = null, $sFromEmail = null);
}
?>