Linto
Linto

Reputation: 1282

How to get the 'To' address value from a Zend_Mail Object

I have a Zend_Mail Object.

Is there any way to get the To address value from this object?

Upvotes: 0

Views: 50

Answers (1)

Razvan
Razvan

Reputation: 2596

You could use the getRecipients() method:

$mailObj->getRecipients();

http://framework.zend.com/apidoc/1.7/Zend_Mail/Zend_Mail.html#getRecipients

Upvotes: 1

Related Questions