import v1.1.0_RC2 | 2009-09-20

This commit is contained in:
2019-07-17 22:19:00 +02:00
parent 3b7ba80568
commit 38c146901c
2504 changed files with 101817 additions and 62316 deletions

View File

@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Mail
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Mail.php 14072 2009-02-12 22:23:49Z beberlei $
* @version $Id: Mail.php 16207 2009-06-21 19:17:51Z thomas $
*/
@ -46,7 +46,7 @@ require_once 'Zend/Mime/Part.php';
*
* @category Zend
* @package Zend_Mail
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Mail extends Zend_Mime_Message
@ -612,6 +612,19 @@ class Zend_Mail extends Zend_Mime_Message
return $this;
}
/**
* Set Reply-To Header
*
* @param string $email
* @param string $name
* @return Zend_Mail
*/
public function setReplyTo($email, $name=null)
{
$this->_addRecipientAndHeader('Reply-To', $email, $name);
return $this;
}
/**
* Returns the sender of the mail
*