Zen Cart Logo
Forums / General Questions / tell a friend txt vs html

tell a friend txt vs html

Locked

Views: 2,260

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Jun 2008, 11:43 AM
#1
nrg avatar

nrg

New Zenner

Join Date:
Jul 2007
Posts:
21
Plugin Contributions:
0

tell a friend txt vs html

Hi there,

I have been customising all my emails. somehow my email_template_tell_a_friend.html doesn't work. I altered the HTML to fit my site design. But when I send out the tell a friend, it still goes as unformatted text email. in stead of the html I made out of it.

other mails, like order update, or check out do get sent as my formatted html. Does anyone know if there is a setting I can change or what else goes wrong?

thanks :)

10 Jun 2008, 5:29 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: tell a friend txt vs html

The tell-a-friend module only sends a text email.
It intentionally does not send as HTML so that spammers and hackers cannot abuse the form by sending rogue HTML and infecting recipients computers unknowningly.
It's a security thing.

10 Jun 2008, 8:54 AM
#3
nrg avatar

nrg

New Zenner

Join Date:
Jul 2007
Posts:
21
Plugin Contributions:
0

Re: tell a friend txt vs html

ok thanks :D

7 Feb 2009, 2:25 PM
#4
deko avatar

deko

New Zenner

Join Date:
Sep 2004
Posts:
34
Plugin Contributions:
0

Re: tell a friend txt vs html

Is there some reason why "email_template_tell_a_friend.html" is still included then?
Surely it's redundent.

Does this also apply to "email_template_contact_us.html"? Can this use HTML?

thx
d.

26 Jun 2009, 3:14 AM
#5
zvenson avatar

zvenson

New Zenner

Join Date:
May 2009
Posts:
61
Plugin Contributions:
0

Re: tell a friend txt vs html

Is there some reason why "email_template_tell_a_friend.html" is still included then?
oh - thats good to know :) was trying to change the html template with no success - even deleted it and nothing changed - now i know why that was....
but how do i alter the tell_a_friend email then anyway? I want to put some php variables like customer country to the tell a friend email.
I already managed to get the variables to show up an the tell_a_friend page, but don`t know how to put them to the email. Any hints would be nice!
thanx!

26 Jun 2009, 6:32 AM
#6
zvenson avatar

zvenson

New Zenner

Join Date:
May 2009
Posts:
61
Plugin Contributions:
0

Re: tell a friend txt vs html

figured it out - needed to edit the
/includes/modules/pages/tell_a_friend/header_php.php
file to fit my needs.