Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: HTML tell a friend?

    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!

  3. #3
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: HTML tell a friend?

    Quote Originally Posted by Ajeh View Post
    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 ...
    Can this be put in as an option in 1.3.7++++ ?
    Various Zen cart sites !

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default 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.

  5. #5
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

 

 

Similar Threads

  1. Tell-A-Friend messages stripped of HTML format
    By worldmaker in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 13 May 2011, 11:24 AM
  2. tell a friend txt vs html
    By NRG in forum General Questions
    Replies: 5
    Last Post: 26 Jun 2009, 07:32 AM
  3. Tell a friend in text Want in HTML
    By gloerick in forum General Questions
    Replies: 6
    Last Post: 7 Feb 2008, 04:28 AM
  4. SSL Link to Tell a Friend Page and Send in HTML
    By reeldealpa.com in forum General Questions
    Replies: 0
    Last Post: 23 Jul 2007, 06:28 AM
  5. Tell A Friend Email in Text Not HTML
    By mrrcomp in forum General Questions
    Replies: 3
    Last Post: 4 May 2007, 07:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR