Swift_Mime_SimpleMessage::setReturnPath PHP Method

setReturnPath() public method

Set the return-path (the bounce address) of this message.
public setReturnPath ( string $address ) : Swift_Mime_SimpleMessage
$address string
return Swift_Mime_SimpleMessage
    public function setReturnPath($address)
    {
        if (!$this->setHeaderFieldModel('Return-Path', $address)) {
            $this->getHeaders()->addPathHeader('Return-Path', $address);
        }
        return $this;
    }

Same methods

Swift_Mime_SimpleMessage::setReturnPath ( string $address )