Results 1 to 4 of 4
  1. #1
    Join Date
    May 2011
    Posts
    2
    Plugin Contributions
    0

    Default Auto-detect when to use HTML or text formatted e-mails?

    We are currently sending out our order confirmation e-mails in html format. This is fine for most people, but a few people are running into errors since their e-mail client does not support html. Is there some way to make it so I can select which domains to send html e-mails to, and which to send text e-mails to?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Auto-detect when to use HTML or text formatted e-mails

    Your customers are able to select their preference from within their My Account page of your site.
    .

    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.

  3. #3
    Join Date
    May 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Auto-detect when to use HTML or text formatted e-mails?

    Thanks, this at least gives me a good reply to give them. Do you know if there's any pre-built way to have only specific domains set to html when the e-mails are first added? Also, not all of the customers have accounts since PayPal and Google Checkout are available on the site.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Auto-detect when to use HTML or text formatted e-mails?

    Zen Cart prepares the email in both formats, and if text-only is specified, sends only the text-only version. If HTML is specified, it sends BOTH the HTML and text-only versions in the same email, leaving it up to the recipient's email client to decide which to display.
    If your recipients' email clients do not support HTML messages, then the text-only portion will automatically be displayed.
    Further, by default, Zen Cart assumes text-only format unless the recipient has a customer account and has specified HTML as their preference.

    If you're doing some sort of manual mass-loading of customer accounts to your store, then I would recommend that you NOT set them to HTML mode if your customers are the sort which are prone to being unable to use modern email formats.
    .

    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. Setting up server to auto detect PHP file name?
    By sandswillis in forum Installing on a Mac Server
    Replies: 10
    Last Post: 25 Feb 2011, 01:48 AM
  2. HTML emails not formatted properly
    By jeking in forum General Questions
    Replies: 6
    Last Post: 17 Aug 2010, 04:07 PM
  3. Canīt send HTML Mails when I change the language
    By Stoned-6 in forum General Questions
    Replies: 2
    Last Post: 12 Apr 2008, 06:19 PM
  4. auto-detect PHP filename extensions???
    By tghaines in forum Installing on a Windows Server
    Replies: 7
    Last Post: 9 Jun 2006, 11:38 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