If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Managing Customers and Orders / Auto-detect when to use HTML or text formatted e-mails?

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

Started by naifwonder on 20 May 2011, 2:13 AM · Views: 1,681

Results 1 to 4 of 4
20 May 2011, 2:13 AM
#1
naifwonder avatar

naifwonder

New Zenner

Join Date:
May 2011
Posts:
2
Plugin Contributions:
0

Post #1 by naifwonder

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?

20 May 2011, 2:56 AM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

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.

20 May 2011, 3:25 AM
#3
naifwonder avatar

naifwonder

New Zenner

Join Date:
May 2011
Posts:
2
Plugin Contributions:
0

Post #3 by naifwonder

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.

20 May 2011, 3:31 AM
#4
drbyte avatar

drbyte

Sensei

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

Post #4 by drbyte

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.