Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / email templates are stripped of their "."

email templates are stripped of their "."

Started by runlikeagirl on 3 Jul 2011, 1:07 AM · Views: 586

Results 1 to 4 of 4
3 Jul 2011, 1:07 AM
#1
runlikeagirl avatar

runlikeagirl

New Zenner

Join Date:
Jun 2011
Posts:
14
Plugin Contributions:
0

Post #1 by runlikeagirl

Hello,

Email templates are stripped of their "." in front of the class specifiers when an HTML email is sent.

Somebody noticed that?? HTML emails don't look good... :blink:

".holder" becomes "holder" and ".header" becomes "header", etc...

I am using 1.3.9h on a Windows server. Anybody has a quick fix before I dig into zen_build_html_email_from_template()?

Many thanks

3 Jul 2011, 9:08 AM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

Zen Cart doesn't do any stripping of "." from CSS etc.
Any such "stripping" is being done by your email client. A very common problem with web-based email clients.

.
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 Jul 2011, 12:32 PM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #3 by rodg

DrByte:

Any such "stripping" is being done by your email client. A very common problem with web-based email clients.
.hello
Problem? This is a lesson in grammar. Everyone knows a space should follow a period.
:P

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

3 Jul 2011, 1:27 PM
#4
runlikeagirl avatar

runlikeagirl

New Zenner

Join Date:
Jun 2011
Posts:
14
Plugin Contributions:
0

Post #4 by runlikeagirl

DrByte:

Zen Cart doesn't do any stripping of "." from CSS etc.
Any such "stripping" is being done by your email client. A very common problem with web-based email clients.

Thanks for your reply.

After investigating I found that Zen cart was not at fault. I still don't know who is doing the stripping but the HTML emails arrive in my Outlook Express without the ".".

When I moved to the production server (same Zen Cart version and config but a different version of PHP), it worked fine. So i'm not going to crack my head on this problem. But it's food for thoughts.