How to retrieve email subject

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?

Answers


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;
}

Need Your Help

Difference between get_Offset and Offset?

c# excel excel-interop

I do not understand the difference between get_Offset and Offset:

Angular ng-grid editableCellTemplate throwing exception

javascript angularjs ng-grid

I am trying to set the editableCellTemplate ColumnDef option in a ng-grid (documented here).

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.