Zend_Mail::clearReturnPath PHP Méthode

clearReturnPath() public méthode

Clears the current Return-Path address from the message
public clearReturnPath ( ) : Zend_Mail
Résultat Zend_Mail Provides fluent interface
    public function clearReturnPath()
    {
        $this->_returnPath = null;
        $this->clearHeader('Return-Path');
        return $this;
    }

Usage Example

 public function setReturnPath($email)
 {
     parent::clearReturnPath();
     return parent::setReturnPath($email);
 }