Zend_Mail::clearReturnPath PHP Method

clearReturnPath() public method

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

Usage Example

Ejemplo n.º 1
0
 public function setReturnPath($email)
 {
     parent::clearReturnPath();
     return parent::setReturnPath($email);
 }