What is the CORRECT method of the $mail objet that can be used to retrieve an email subject? I know you can set a subject with "setSubject()" but how do I retrieve the subject?
Assuming you're talking about Zend_Mail
, see Zend_Mail::getSubject()
From SVN
/**
* Returns the encoded subject of the message
*
* @return string
*/
public function getSubject()
{
return $this->_subject;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.