Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / All emails are suddenly sending in Text format, regardless of what customer's select

All emails are suddenly sending in Text format, regardless of what customer's select

Started by sethf on 10 Jun 2013, 4:54 PM · Views: 4,216

Results 1 to 8 of 8
10 Jun 2013, 4:54 PM
#1
sethf avatar

sethf

Zen Follower

Join Date:
Sep 2011
Posts:
228
Plugin Contributions:
0

Post #1 by sethf

Hey guys,

Emails have started sending in text format only, regardless of what the customer selects as his preferred format. ie, if the customer selects HTML as their preferred format, emails (such as welcome email, order confirmations, etc) are all sent in text.

Where is the best place to look to try and locate this problem?

Thanks
Seth

10 Jun 2013, 4:59 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

Check your settings in the Configuration ... E-mail Options ... that this is set to true:

Use MIME HTML When Sending Emails
Send e-mails in HTML format

true
false

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!]
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!

10 Jun 2013, 5:03 PM
#3
sethf avatar

sethf

Zen Follower

Join Date:
Sep 2011
Posts:
228
Plugin Contributions:
0

Post #3 by sethf

Ajeh:

Check your settings in the Configuration ... E-mail Options ... that this is set to true:

I tried that and this was sent to a customer

Content-Type: multipart/alternative; boundary="PHP-alt-c9f94a51dec1e59ce12ad3d77e3a5e80"

--b1_4b277b9ab232961b27d5f0b3b699cae5
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit

Dear Mr. test,

We wish to welcome you to PCselect.

With your account, you can now take part in the various services we have to
offer you. Some of these services include:

Permanent Cart - Any products added to your online cart remain there until
you remove them, or check them out.

Address Book - We can now deliver your products to another address other
than yours! This is perfect to send birthday gifts direct to the
birthday-person themselves.

Order History - View your history of purchases that you have made with us.

Products Reviews - Share your opinions on products with our other customers.

For help with any of our online services, please email the store-owner:
[email protected]

Sincerely,

PCselect
Store Owner

http://pcselect.co.za/

This email address was given to us by you or by one of our customers. If you
did not signup for an account, or feel that you have received this email in
error, please send an email to [email protected]

Removal requests can be sent to this address and will be honored and
respected.

--b1_4b277b9ab232961b27d5f0b3b699cae5
Content-Type: text/html; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <base href="http://pcselect.co.za/" /> <style type="text/css"> .body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif;} a:link {color:#0066cc;} a:hover {background-color:#eeeecc; color:#0066cc;} a:visited {color:#0066cc;} .holder { background-color: #f9f9f9; border: 1px #9a9a9a solid; font-size: 9px; text-align: left; width:550px;} .header {font-size:10px; padding:0px; width:550px;} .content {font-size:10px; padding:5px; width:550px;} .content-line {padding:5px;} .coupon-block { padding: 5px; border: 1px #cccccc solid; background-color: #FFFF99; } .coupon-code {font-weight:bold;} .gv-block { padding: 5px; border: 1px #cccccc solid; background-color: #99FF99; } .gv-code {font-weight:bold;} .footer { border-top: 1px #9a9a9a solid; font-size: 9px; margin-top: 10px; text-align: center; width: 550px; } .extra-info { background-color: #cccc99; border: 1px #9a9a9a solid; font-size: 10px; margin-top: 10px; padding: 5px; width: 550px; } .extra-info-bold {font-weight:bold;} .disclaimer { background-color: #f9f9f9; border: 1px #cccccc solid; font-size: 10px; margin-top: 10px; padding: 5px; width: 550px; } .disclaimer1 {color:#666666; padding:5px;} .disclaimer1 a:link {color:#666666;} .disclaimer1 a:visited {color:#666666;} .disclaimer2 { color: #666666; padding: 5px; } .copyright { border-bottom: 0px #9a9a9a solid; padding: 5px; } </style> </head> <body class="body"> <div class="holder"> <!-- Header Section --> <div class="header"> <img src="email/header.jpg" alt="logo" /> </div> <!-- Content Section --> <div class="content"> <div class="content-line">Dear Mr. test, </div> <div class="content-line">We wish to welcome you to <strong>PCselect</strong>.</div> <!--The following only get populated if they're enabled! --> <!-- end gv/coupon section -->
<div class="content-line">With your account, you can now take part in the <strong>various services</strong> we have to offer you. Some of these services include:
<li><strong>Permanent Cart</strong> - Any products added to your online cart remain there until you remove them, or check them out. <li><strong>Address Book</strong> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves. <li><strong>Order History</strong> - View your history of purchases that you have made with us. <li><strong>Products Reviews</strong> - Share your opinions on products with our other customers. </div> <div class="content-line">For help with any of our online services, please email the store-owner: <a href="mailto:[email protected]">[email protected] </a>

<br />Sincerely,<br />
<br />
PCselect<br />
Store Owner<br />
<br />
<a href="http://pcselect.co.za/">http://pcselect.co.za/</a><br />
<br />

</div> </div> </div> <!-- Footer Section --> <div class="footer"> <div class="copyright">Copyright (c) 2011-2012 <a href="http://pcselect.co.za/index.php?main_page=index" target="_blank">PCselect</div> </div> <div class="disclaimer"> <div class="disclaimer1">This email address was given to us by you or by one of our customers. If you did not signup for an account, or feel that you have received this email in error, please send an email to <a href="mailto:[email protected]">[email protected] </a> </div> <div class="disclaimer2">Removal requests can be sent to this address and will be honored and respected.</div> </div> </body> </html>

--b1_4b277b9ab232961b27d5f0b3b699cae5--

10 Jun 2013, 7:26 PM
#4
drbyte avatar

drbyte

Sensei

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

Post #4 by drbyte

SethF:

Emails have started ...
Your post suggests that the problem was absent previously ... which begs a very important question: When did these symptoms suddenly "start"?

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

10 Jun 2013, 7:30 PM
#5
drbyte avatar

drbyte

Sensei

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

Post #5 by drbyte

SethF:

I tried that and this was sent to a customer

Content-Type: multipart/alternative; boundary="PHP-alt-c9f94a51dec1e59ce12ad3d77e3a5e80"

--b1_4b277b9ab232961b27d5f0b3b699cae5
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit

Dear Mr. test,

We wish to welcome you to PCselect.

With your account, you can now take part in the various services we have to
offer you. Some of these services include:

Permanent Cart - Any products added to your online cart remain there until
you remove them, or check them out.

Address Book - We can now deliver your products to another address other
than yours! This is perfect to send birthday gifts direct to the
birthday-person themselves.

Order History - View your history of purchases that you have made with us.

Products Reviews - Share your opinions on products with our other customers.

For help with any of our online services, please email the store-owner:
[email protected]

Sincerely,

PCselect
Store Owner

http://pcselect.co.za/

This email address was given to us by you or by one of our customers. If you
did not signup for an account, or feel that you have received this email in
error, please send an email to [email protected]

Removal requests can be sent to this address and will be honored and
respected.

--b1_4b277b9ab232961b27d5f0b3b699cae5
Content-Type: text/html; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <base href="http://pcselect.co.za/" /> <style type="text/css"> .body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif;} a:link {color:#0066cc;} a:hover {background-color:#eeeecc; color:#0066cc;} a:visited {color:#0066cc;} .holder { background-color: #f9f9f9; border: 1px #9a9a9a solid; font-size: 9px; text-align: left; width:550px;} .header {font-size:10px; padding:0px; width:550px;} .content {font-size:10px; padding:5px; width:550px;} .content-line {padding:5px;} .coupon-block { padding: 5px; border: 1px #cccccc solid; background-color: #FFFF99; } .coupon-code {font-weight:bold;} .gv-block { padding: 5px; border: 1px #cccccc solid; background-color: #99FF99; } .gv-code {font-weight:bold;} .footer { border-top: 1px #9a9a9a solid; font-size: 9px; margin-top: 10px; text-align: center; width: 550px; } .extra-info { background-color: #cccc99; border: 1px #9a9a9a solid; font-size: 10px; margin-top: 10px; padding: 5px; width: 550px; } .extra-info-bold {font-weight:bold;} .disclaimer { background-color: #f9f9f9; border: 1px #cccccc solid; font-size: 10px; margin-top: 10px; padding: 5px; width: 550px; } .disclaimer1 {color:#666666; padding:5px;} .disclaimer1 a:link {color:#666666;} .disclaimer1 a:visited {color:#666666;} .disclaimer2 { color: #666666; padding: 5px; } .copyright { border-bottom: 0px #9a9a9a solid; padding: 5px; } </style> </head> <body class="body"> <div class="holder"> <!-- Header Section --> <div class="header"> <img src="email/header.jpg" alt="logo" /> </div> <!-- Content Section --> <div class="content"> <div class="content-line">Dear Mr. test, </div> <div class="content-line">We wish to welcome you to <strong>PCselect</strong>.</div> <!--The following only get populated if they're enabled! --> <!-- end gv/coupon section -->
<div class="content-line">With your account, you can now take  part in the <strong>various services</strong> we have to  offer you. Some of these services include:
<li><strong>Permanent Cart</strong> - Any products added to your online cart remain there until you remove them, or check them out. <li><strong>Address Book</strong> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves. <li><strong>Order History</strong> - View your history of purchases that you have made with us. <li><strong>Products Reviews</strong> - Share your opinions on products with our other customers. </div> <div class="content-line">For help with any of our online services, please email the store-owner: <a href="mailto:[email protected]">[email protected] </a>

<br />Sincerely,<br />
<br />
PCselect<br />
Store Owner<br />
<br />
<a href="http://pcselect.co.za/">http://pcselect.co.za/</a><br />
<br />

</div> </div> </div> <!-- Footer Section --> <div class="footer"> <div class="copyright">Copyright (c) 2011-2012 <a href="http://pcselect.co.za/index.php?main_page=index" target="_blank">PCselect</div> </div> <div class="disclaimer"> <div class="disclaimer1">This email address was given to us by you or by one of our customers. If you did not signup for an account, or feel that you have received this email in error, please send an email to <a href="mailto:[email protected]">[email protected] </a> </div> <div class="disclaimer2">Removal requests can be sent to this address and will be honored and respected.</div> </div> </body> </html>

--b1_4b277b9ab232961b27d5f0b3b699cae5--
Okay, so clearly Zen Cart is sending out HTML emails. What you quoted shows (as expected) that the email is being sent with both HTML and Text portions (that is by design so that email clients can show both formats based on choices by the user), and that both sections are indeed intact.

Which email client (ie: Eudora, Outlook, hotmail, gmail, Notes, etc) are you seeing this symptom with? Which other clients have you tried it in? And have you tried changing your email client's settings for displaying text-only vs HTML (aka rich text)? If you've restricted it to text-only, then it doesn't matter that Zen Cart is sending HTML too, since your email client will only show Text-only if you've got it set to show text-only.

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

10 Jun 2013, 8:03 PM
#6
sethf avatar

sethf

Zen Follower

Join Date:
Sep 2011
Posts:
228
Plugin Contributions:
0

Post #6 by sethf

DrByte:

Okay, so clearly Zen Cart is sending out HTML emails. What you quoted shows (as expected) that the email is being sent with both HTML and Text portions (that is by design so that email clients can show both formats based on choices by the user), and that both sections are indeed intact.

Which email client (ie: Eudora, Outlook, hotmail, gmail, Notes, etc) are you seeing this symptom with? Which other clients have you tried it in? And have you tried changing your email client's settings for displaying text-only vs HTML (aka rich text)? If you've restricted it to text-only, then it doesn't matter that Zen Cart is sending HTML too, since your email client will only show Text-only if you've got it set to show text-only.

Gmail and Mac's Mail App both show the same text emails. They both used to display the HTML emails properly though.

I actually don't know when this happened. It started happening about 4 months ago and has not been a real problem as I don't send out newsletters, but I'd like to take care of it now.

Obviously you can't see what I've changed over the months, but where would you say is a good place to start looking? I have a backup of my store from a year ago so I can compare files.

Thanks again for the help.

10 Jun 2013, 8:17 PM
#7
drbyte avatar

drbyte

Sensei

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

Post #7 by drbyte

SethF:

Obviously you can't see what I've changed over the months, but where would you say is a good place to start looking? I have a backup of my store from a year ago so I can compare files.
I'd be surprised if it were actually anything in any Zen Cart files at all. But, you can identify all the ways in which your site's files differ from originals by following this process: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

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

11 Jun 2013, 4:42 AM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,920
Plugin Contributions:
24

Post #8 by dbltoe

And, of course, Mr Test is set to receive html?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com