Exemplo n.º 1
0
 /**
  * Заполняет письмо ввиде html
  *
  * @param string $text
  *
  * @return Mail_Message_Part
  */
 public function html($text)
 {
     return $this->text($text, array('text/html', 'charset' => MIME::default_charset()));
 }
Exemplo n.º 2
0
Arquivo: MIME.php Projeto: techart/tao
 /**
  * Инициализация модуля
  *
  * @param array $options
  */
 public static function initialize(array $options = array())
 {
     if (isset($options['default_charset'])) {
         self::$default_charset = $options['default_charset'];
     }
 }