Source for file mail.class.php
Documentation is available at mail.class.php
* Библиотека Отправление почты
* $PHPShopMail= new PHPShopMail('user@localhost','admin@localhost'','Test','Hi, user!');
* @param string $from от кого
* @param string $zag заголовок письма
* @param string $content содежание письма
* @var string кодировка письма
* @var string Тип содержания
var $type = "text/plain";
* @param string $from от кого
* @param string $zag заголовок письма
* @param string $content содежание письма
$header = "MIME-Version: ". $this->mime. "\n";
$header.= "From: <". $this->from. ">\n";
$header.= "Content-Type: ". $this->type. "; charset=". $this->codepage. "\n";
$header.= "Content-Transfer-Encoding: 8bit\n";
* Отправление письма через php mail
* @param string $content содержание
* @param strong $header заголовок
mail($this->to,$this->zag,$content,$header);
Powered & Developed by www.PHPShop.ru
". $GLOBALS['SysValue']['license']['product_name'];
|