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