Forums / General Questions / HTML emails not formatted properly

HTML emails not formatted properly

Locked

Started by jeking on 5 Apr 2010, 7:43 PM · Views: 4,862

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
5 Apr 2010, 7:43 PM
#1
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

HTML emails not formatted properly

I just noticed my receipt emails emails not arriving correctly. See attached image.

Settings are:
Zen 1.3.7.1
E-Mail Transport Method: PHP (also tried sendmail)
Use MIME HTML When Sending Emails: True

I've tried the Tools>Send Mail and that seems to be stripping the html out as well. I'm not sure where to look for the source of the problem.

I'm using Outlook to read emails but also sent one to Yahoo and got the same result.

Jim
Wheaton Website Services

5 Apr 2010, 7:47 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: HTML emails not formatted properly

Your webserver is probably stripping out the HTML content because you're sending emails unauthenticated and thus they look like spam.
So, use SMTPAUTH transport method instead of PHP or sendmail.

If that doesn't work as desired, test it in the latest version before going to a lot of trouble investigating your older version.
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems#Why_Do_Emails_Not_Show_in_HTML_format.3F

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

5 Apr 2010, 8:02 PM
#3
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: HTML emails not formatted properly

Thanks for the quick reply. I tried SMTPAUTH but that didn't make any difference.

The trouble shooting guide didn't reveal any issues either. Is there something about 1.3.8a that handles email differently? I've installed carts using that version but don't recall any of the email options being different.

Jim
Wheaton Website Services

5 Apr 2010, 8:29 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: HTML emails not formatted properly

138 is a year's worth of bugfixes and feature improvements over 137. And yes, many of those affected email.

And v1.3.9 is a couple years' worth of still more fixes and improvements, including security updates.

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

17 Aug 2010, 11:15 AM
#5
brightgreen avatar

brightgreen

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

Re: HTML emails not formatted properly

Hi

I've not yet managed to send any emails in HTML format and would appreciate some advice if possible please as I'm going round in circles.

I have a new site running on v1.3.9e. I've installed the Cork_Board template. The email transport method is set to SMTPAUTH and the mails send ok, but arrive as text only.

This is both automatically generated emails, such as order confirmation and emails generated in Admin home/tools/send email (where they preview fine).

Thanks
Natalie

17 Aug 2010, 12:35 PM
#6
brightgreen avatar

brightgreen

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

Re: HTML emails not formatted properly

DUH!!! I clearly need a holiday...

Fixed it myself as I'd not changed the default in Configuration/Customer Details/Default Customer Default Email Preference to HTML...

Natalie

17 Aug 2010, 3:07 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,739
Plugin Contributions:
0

Re: HTML emails not formatted properly

Thanks for taking the time to post your solution! You may have saved someone else the headache.

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.