New Zenner
- Join Date:
- Aug 2013
- Location:
- Texas
- Posts:
- 6
- Plugin Contributions:
- 0
Send Copy of Admin GV Emails Not Working
We have set up Gift Certificates in our cart and turned on "Send Copy of Admin GV Mail Emails To" in the email configuration panel. Testing by sending a few certificates showed no copies were sent. No copies show in the email archive.
We traced the problem to line 126 in gv_mail.php:
if (SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO_STATUS== '1' and SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO != '') {
zen_mail('', SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO, SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO_SUBJECT . ' ' . $subject, $message, $from, $from, $html_msg, 'gv_mail_extra');
}
The "DISCOUNT_COUPON" reference is incorrect. We took a guess at what the variable should be and changed the code to:
if (SEND_EXTRA_GV_ADMIN_EMAILS_TO_STATUS== '1' and SEND_EXTRA_GV_ADMIN_EMAILS_TO != '') {
zen_mail('', SEND_EXTRA_GV_ADMIN_EMAILS_TO, SEND_EXTRA_GV_ADMIN_EMAILS_TO_SUBJECT . ' ' . $subject, $message, $from, $from, $html_msg, 'gv_mail_extra');
}
and email copies are now being received.
The issue now is that there is a similar problem (we think) in line 87 and we cannot determine the appropriate replacement for the "DISCOUNT_COUPON" reference.
Anyone with a clue?