New Zenner
- Join Date:
- Nov 2013
- Location:
- Charleston, WV
- Posts:
- 12
- Plugin Contributions:
- 0
Additional contact us forms reply-to field on e-mail.
Since the below thread is closed I wanted to post a thank you for the solution. Replace "checkout_extra" with the page your additional form is on in both arrays. includes/functions/functions_email.php
// set the reply-to address. If none set yet, then use Store's default email name/address.
// If sending from contact-us or tell-a-friend page, or want the admin email to have From: as the customer, use the supplied info
$email_reply_to_address = ($email_reply_to_address) ? $email_reply_to_address : (in_array($module, array('contact_us', 'tell_a_friend', 'checkout_extra')) ? $from_email_address : EMAIL_FROM);
$email_reply_to_name = ($email_reply_to_name) ? $email_reply_to_name : (in_array($module, array('contact_us', 'tell_a_friend', 'checkout_extra')) ? $from_email_name : STORE_NAME);
$mail->AddReplyTo($email_reply_to_address, $email_reply_to_name);
http://www.zen-cart.com/showthread.php?146484-Changing-Reply-email-to-order-confirmations