Swift_Mime_SimpleMessage::addReplyTo PHP Method

addReplyTo() public method

If $name is passed this name will be associated with the address.
public addReplyTo ( string $address, string $name = null )
$address string
$name string optional
    public function addReplyTo($address, $name = null)
    {
        $current = $this->getReplyTo();
        $current[$address] = $name;
        return $this->setReplyTo($current);
    }

Same methods

Swift_Mime_SimpleMessage::addReplyTo ( string $address, string $name = null ) : Swift_Mime_SimpleMessage