diff --git a/email/Email.php b/email/Email.php index e9b9c5f1d..bf2ba2aa8 100755 --- a/email/Email.php +++ b/email/Email.php @@ -231,6 +231,14 @@ class Email extends ViewableData { $this->bcc = $val; } + /** + * Set the "Reply-To" header with an email address. + * @param string $email The email address of the "Reply-To" header + */ + public function replyTo($email) { + $this->addCustomHeader('Reply-To', $email); + } + /** * Add a custom header to this value. * Useful for implementing all those cool features that we didn't think of.