Пример #1
0
	/**
	 * Set the subject of the mail
	 *
	 * @access public
	 * @param string $data the mail subject
	 * @since 1.0
	 */
	public function setSubject($data) 
	{
		if ($this->charset == 'UTF-8')
			$data = SLS_String::makeEmailSubject($data);
		
		$this->headers['Subject'] = $data;
	}