Forums / Customization from the Admin / HTML tell a friend?

HTML tell a friend?

Locked

Views: 3,136

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Oct 2006, 7:21 AM
#1
streetglow avatar

streetglow

New Zenner

Join Date:
Aug 2006
Posts:
38
Plugin Contributions:
0

HTML tell a friend?

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

29 Oct 2006, 2:40 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTML tell a friend?

I delete all HTML emails ... :eek:

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 ... :lamo:

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!]
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!

5 Dec 2006, 2:29 PM
#3
crazycucumber avatar

crazycucumber

Zen Follower

Join Date:
Jan 2006
Posts:
403
Plugin Contributions:
0

Re: HTML tell a friend?

Ajeh:

I delete all HTML emails ... :eek:

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 ... :lamo:

Can this be put in as an option in 1.3.7++++ ?

Various Zen cart sites !

5 Dec 2006, 9:58 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,667
Plugin Contributions:
0

Re: HTML tell a friend?

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.

6 Dec 2006, 11:45 PM
#5
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Re: HTML tell a friend?

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.

7 Dec 2006, 12:37 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: HTML tell a friend?

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:if ($customers_email_format =='HTML') $customers_email_format='HTML'; // if they opted-in to HTML messages, then send HTML formatchange to:```
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.