Set header
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 27 Feb 2015 16:36:34 +0000 (11:36 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 27 Feb 2015 16:36:34 +0000 (11:36 -0500)
set to OWNER_EMAIL

Toolkit/Contacts/ContactUs.php

index 996ca4a..5c60370 100755 (executable)
@@ -915,6 +915,8 @@ class Toolkit_Contacts_ContactUs
 
         $mail =& Mail::factory($mailFactory);
         $body = $mimeMail->get();
+        $setHeader['Reply-To'] = "Gaylord Golf Mecca <".OWNER_EMAIL.">";
+        $headers = $mimeMail->headers($setHeader);
 
         $res = $mail->send($this->email, $headers, $body);
         if (PEAR::isError($res)) {