Skip to content
Snippets Groups Projects
Commit a881218f authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Add "Reply-To" support for mails

parent a163243e
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,28 @@ class Message {
return $this->swiftMessage->getFrom();
}
/**
* Set the Reply-To address of this message
*
* @param array $addresses
* @return $this
*/
public function setReplyTo(array $addresses) {
$addresses = $this->convertAddresses($addresses);
$this->swiftMessage->setReplyTo($addresses);
return $this;
}
/**
* Returns the Reply-To address of this message
*
* @return array
*/
public function getReplyTo() {
return $this->swiftMessage->getReplyTo();
}
/**
* Set the to addresses of this message.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment