Zen Follower
- Join Date:
- Sep 2008
- Posts:
- 97
- Plugin Contributions:
- 0
Duplicate disclaimers in TEXT-only email
So, I'm running general tests on my site and I noticed something strange. I created two test customer accounts -- one for HTML emails and the other set up to receive TEXT-only emails.
When the HTML email customer receives order confirmation emails, everything is fine -- just one disclaimer at the end.
But when the TEXT-only customer receives order confirmation emails, they get two disclaimers at the end -- a properly formatted one and then one with the HTML tags visible.
This is what my TEXT-only email customers get:
No payment necessary -- it's free!
Used with purchases via Free Charge
This email address was given to us by you or by one of our customers. If you
feel that you have received this email in error or if you wish to no longer
receive emails from us, please send an email to [email protected].
We will remove your email from our list.You can also contact us at:
The Yaoi 911 Store
2370 Market Street
Suite 339
San Francisco, CA 94114
(206) 202-3243
Copyright (c) 2008 The Yaoi 911™ Store
This email address was given to us by you or by one of our customers. If you
feel that you have received this email in error or if you wish to no longer
receive emails from us, please send an email to [email protected].
We will remove your email from our list. <br /><br />You can also contact us at: <br /><br />
The Yaoi 911 Store<br />
2370 Market Street<br />
Suite 339<br />
San Francisco, CA 94114<br />
(206) 202-3243
This email is sent in accordance with the US CAN-SPAM Law in effect
01/01/2004. Removal requests can be sent to these addresses and will be
honored and respected.
I did alter the code in email_extras.php. This is what I used:
// email disclaimer
define('EMAIL_DISCLAIMER', 'This email address was given to us by you or by one of our customers. If you feel that you have received this email in error or if you wish to no longer receive emails from us, please send an email to %s. We will remove your email from our list. <br /><br />
You can also contact us at: <br /><br />
The Yaoi 911 Store<br />
2370 Market Street<br />
Suite 339<br />
San Francisco, CA 94114<br />
(206) 202-3243 ');
define('EMAIL_SPAM_DISCLAIMER','This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to these addresses and will be honored and respected.');
define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>' );
define('TEXT_UNSUBSCRIBE', "\n\nTo unsubscribe from future newsletter and promotional mailings, simply click on the following link: \n");
What have I done wrong that has created this duplicate disclaimer business for my TEXT-only customers? I can't seem to figure it out.
Please let me know. Thank you!
Alex
Zen Cart 1.3.8a - Database Patch Level: 1.3.8 - PHP Version 5.2.6