Forums / Templates, Stylesheets, Page Layout / Email header problems - and update problems

Email header problems - and update problems

Locked

Started by kinget on 5 Oct 2006, 9:39 PM · Views: 3,017

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
5 Oct 2006, 9:39 PM
#1
kinget avatar

kinget

Zen Follower

Join Date:
Jul 2006
Posts:
154
Plugin Contributions:
0

Email header problems - and update problems

Hi,

I just read through the forum and realized that I probably need to update our store, as I am having problems with our email headers looking scrambled with partial header information listed in a text layout only as exampled below. However, there are problems to us updating the cart to 1.3.5 for us...as we have been modifying it to use with an additional system on our server, so updating the cart software, could be another nightmare for us. Is there a way to by-pass that and add the fixes without having to install a complete update? Any help you could give is appreciated.
Thank you.

Kinget

--=_323291b6c1bf0aebe9fe4d558bf6c19c
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

body {background-color:#ffffff; color:#000000;= font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;}a:li= nk {color:#0066cc;}a:hover {background-color:#eeeecc; color:#0066cc;}a:visi= ted {color:#0066cc;}.holder {background-color:#f9f9f9; border:1px solid #9a= 9a9a; font-size:9px; text-align:left; width:550px;}.header {font-size:10px;= padding:0px; width:550px;}.content {font-size:10px; padding:5px; width:550= px;}.content-line {padding:5px;}.footer {border-top:1px solid #9a9a9a; font= -size:9px; margin-top:10px; text-align:center; width:550px;}.extra-info {ba= ckground-color:#cccc99; border:1px solid #9a9a9a; font-size:10px; margin-to= p:10px; padding:5px; width:550px;}.extra-info-bold {font-weight:bold;}.dis= claimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px= ; margin-top:10px; padding:5px; width:550px;}.disclaimer1 {color:#666666; = padding:5px;}.disclaimer1 a:link {color:#666666;}.disclaimer1 a:visited {co= lor:#666666;}.disclaimer2 {color:#666666; padding:5px}.copyright {border-bo= ttom:0px solid #9a9a9a; padding:5px;}

6 Oct 2006, 1:02 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Email header problems - and update problems

there's nothing strictly wrong with CSS code being strung together like that

however I'm sure that's not your main concern

What version of Zen Cart are you using?
What contributions/addons have you installed?

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

6 Oct 2006, 2:29 AM
#3
kinget avatar

kinget

Zen Follower

Join Date:
Jul 2006
Posts:
154
Plugin Contributions:
0

Re: Email header problems - and update problems

DrByte:

there's nothing strictly wrong with CSS code being strung together like that

however I'm sure that's not your main concern

What version of Zen Cart are you using?
What contributions/addons have you installed?

Hi ...

Thank you for your response. I think you misunderstood me. There is something terribly wrong with the CSS being strung out like that in all of the auto-email responses. They are not coming back in HTML...they are coming back with all the header code and css style being written out inside the email all in text. The particular insert I left was a partial example...that particular code came printed out in an email sent for a lost password.

The original version installed was 1.2.7. It has had some patches added to it. For shipping we added a FedEx module...we also have had a developer on another application we are using write some scripts that link the two programs together, and some other custom features. We also customized the style sheet, and double-checked it as well for errors. We've been working on this application for some time. Anyway, I remember reading that there was a bug in the email headers and that 1.3.5 update corrects the problem.

I hope that clarify's better. I want to know, if a) I can get the particular patch fix that fixes the email bug itself, without having to upgrade the entire cart. or b) if this is an error that is happening somewhere in the cart and not a bug,and where I should look to fix the error.?

Thank you for your time and consideration.

Kinget

6 Oct 2006, 2:41 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Email header problems - and update problems

for the most part, the email infrastructure is driven by
/includes/functions/functions_email.php
/includes/classes/class.phpmailer.php
/includes/classes/class.smtp.php

It has other dependencies, such as keys set in the configuration table -- largely being items configurable in Admin->Configuration->Email Options

What email transport are you using?
What linefeed method?

What hosting company are you with?
What operating system is your host running?
Do you have any idea what the mailserver engine is?

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

7 Oct 2006, 7:16 PM
#5
kinget avatar

kinget

Zen Follower

Join Date:
Jul 2006
Posts:
154
Plugin Contributions:
0

Re: Email header problems - and update problems

DrByte:

for the most part, the email infrastructure is driven by
/includes/functions/functions_email.php
/includes/classes/class.phpmailer.php
/includes/classes/class.smtp.php

It has other dependencies, such as keys set in the configuration table -- largely being items configurable in Admin->Configuration->Email Options

What email transport are you using?
What linefeed method?

What hosting company are you with?
What operating system is your host running?
Do you have any idea what the mailserver engine is?


Hi,

Thank you for your expertise and help.

This looks like an error in the header of the html files for the emails. I have other carts running on the same host with no problems. I was thinking because this particular cart was customized more than the others, that there is a mistake somewhere in the header code, such as a missing end tag, etc. I also went into the config email optoins, and the settings all seem to be correct. I feel that if I can just find where that code is, I could find the error and fix the problem. The pages and other items you listed gave me some good starting places to investigate further. I will look into this. Thank you.

Kinget

PS...I like your moniker. :-)

7 Oct 2006, 7:46 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Email header problems - and update problems

Maybe your HTML template files in the /email folder have bad line-endings ?

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

7 Oct 2006, 8:10 PM
#7
kinget avatar

kinget

Zen Follower

Join Date:
Jul 2006
Posts:
154
Plugin Contributions:
0

Re: Email header problems - and update problems

DrByte:

Maybe your HTML template files in the /email folder have bad line-endings ?

The email folder didn't seem to have any header information and seemed to be in tact, but then I guess I don't know what to look for. I'm pretty stumped on this. Any ideas?

Thank you again for your help.