Hi, when people are trying to "tell a friend" their friends will get a text-based email while I get a CC completely in HTML.
Is it possible (maybe in the admin or in the shop) to make the email in html?
Thanks,
Streetglow
Hi, when people are trying to "tell a friend" their friends will get a text-based email while I get a CC completely in HTML.
Is it possible (maybe in the admin or in the shop) to make the email in html?
Thanks,
Streetglow
I delete all HTML emails ...
This is not always a good thing to send HTML emails to people who do not know you ...
The code is designed that if the person recieving the email is unknown, then they get the TEXT email as they, themselves, have not specified otherwise ...
You would have to re-write the code to change this behavior ...
You may wish to think this through a bit as to whether that is a good idea or not ...
Others, on the other hand ... may think this the best way to send emails to the unsuspecting friend ... so many decisions ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
No. Essentially, a tell friend form is an open email relay and as such can be dangerous. Allowing HTML or any special characters in the email could allow the sending of viruses and other bad things. Besides- do your customers care if they can't send a note with HTML in it?
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Hi,
I understand the need for text emails but in my case I need to make it so that all people recieve html emails from the tell a friend feature. How would I go about doing that?
Thanks,
Brad.
If you prefer to throw caution to the wind, you may force everyone to receive HTML-formatted emails against their wishes and in many cases end up in junkmail folders and have your server on blacklists, by doing the following:
/includes/functions/functions_email.php
approx line 118:change to:Code:if ($customers_email_format =='HTML') $customers_email_format='HTML'; // if they opted-in to HTML messages, then send HTML formatCode:if ($customers_email_format =='') $customers_email_format='HTML'; // if they opted-in to HTML messages, then send HTML format
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks