auto-generated email message not displaying properly

L

laredotornado

Hi,

I am trying to send an HTML-formatted email with an HTML attachment,
but unfortunately, when we receive this email on our Outlook clients,
it is displaying the actual headers and boundary of the email. Can
anyone tell what is wrong with the headers and/or body that would
cause it to display improperly?

Here are the headers:

Date: Tue, 20 Mar 2007 11:38:24 -0500
From: (e-mail address removed)
Return-Path: (e-mail address removed)
Reply-to: (e-mail address removed)
X-Mailer: PHP-EMAIL,v1.1 (William Fowler)
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/mixed; boundary="-----
e5825de1777334ea6e771e6d187a39df"

and here is the body

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

<link rel="stylesheet" type="text/css" href="http://mydomain.com/
styles/styles.css">
<style>
BODY {
background-color:#ffffff;
}

</style>
<table cellpadding="0" cellspacing="0" border="0" style="padding:10px;
background-color:#ffffff;">
<tbody><tr><td>
<table class="invoiceText" style="background-
color#ffffff;"
width="100%" cellpadding="0" cellspacing="0" border="0">
<tbody><tr>
<td align="left">
<table class="invoiceText"
cellpadding="0" cellspacing="0"
border="0">

<tr><td nowrap>The
Refilling Station</td></tr>
<tr><td><img
src="http://mydomain.com//refillingstation/images/
vendors/f180445.gif" alt="" border="0"></td></tr>
<tr><td>611 W. Ben
White</td></tr>
<tr><td>Austin, TX
78704</td></tr>

<tr><td>(512)-233-7072</td></tr>
</table>
</td>

<td align="right" valign="top">
<table class="invoiceText"
border="1">
<tr><td
align="center">DATE</td></tr>
<tr><td align="center"
valign="top">03/20/2007</td></tr>
</table>
</td>
</tr>
<tr><td colspan="2" style="height:
20px;">&nbsp;</td></tr>

<tr><td class="invoiceText" colspan="2"
align="left">
<div id="xsnazzy"><b class="xtop"><b
class="xb1"></b><b
class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<table cellpadding="0"
cellspacing="0" border="0"
class="xboxcontent invoiceText"><tr><td><p>Greetings,</p><p>Ordering
has never been this easy! We have created a customized online order
form for you, tailored specifically to your work environment.</
p><p>Just click on the attachment in this email called "Order
Cartridges" and choose to save it to your computers desktop.</
p><p>Once this icon is on your desktop just click on it whenever you
need to order any supplies. It only takes seconds to find your
cartridges and place and order.</p><p>Click <a href='http://
mydomain.com/refillingstation/login_response.php?
Username=acme&Password=password%AD&RedirectP=%2Frefillingstation
%2Fclient_demo.php'>here</a> for a video demonstration</p><p>If you
have any questions please contact your sales rep for assistance.</
p><p>Thank you.</p></td></tr></table>
<b class="xbottom"><b class="xb4"></
b><b class="xb3"></b><b
class="xb2"></b><b class="xb1"></b></b></div>

</td></tr></tbody>
</table>
</td></tr></tbody>
</table>

-------e5825de1777334ea6e771e6d187a39df
Content-Type: text/html; name="Order Cartridges - Acme Demo
Account.html"
Content-Disposition: attachment; filename="Order Cartridges - Acme
Demo Account.html"
Content-Transfer-Encoding: base64

PGh0bWw
+CjxoZWFkPjx0aXRsZT5PcmRlciBJbms8L3RpdGxlPjwvaGVhZD4KPGJvZHkgb25Mb2Fk
PSJkb2N1bWVudC5mb3Jtc1swXS5zdWJtaXQoKTsiPgo8Zm9ybSBuYW1lPSJmIiBtZXRob2Q9InBv
c3QiIGFjdGlvbj0iaHR0cDovL3JlbWFuZGV2Lm5vLWlwLm9yZy9yZWZpbGxpbmdzdGF0aW9uL2xv
Z2luX3Jlc3BvbnNlLnBocCI
+Cgk8aW5wdXQgdHlwZT0iaGlkZGVuIiBuYW1lPSJVc2VybmFtZSIg
aWQ9IlVzZXJuYW1lIiB2YWx1ZT0iYWNtZSI
+Cgk8aW5wdXQgdHlwZT0iaGlkZGVuIiBuYW1lPSJQ
YXNzd29yZCIgaWQ9IlBhc3N3b3JkIiB2YWx1ZT0icGFzc3dvcmStIj4KPC9mb3JtPgo8L2JvZHk
+
CjwvaHRtbD4=

-------e5825de1777334ea6e771e6d187a39df--


Thanks, - Dave
 
B

Brian Tillman

I am trying to send an HTML-formatted email with an HTML attachment,
but unfortunately, when we receive this email on our Outlook clients,
it is displaying the actual headers and boundary of the email. Can
anyone tell what is wrong with the headers and/or body that would
cause it to display improperly?

Sounds like there's an extra blank line somewhere in the headers that is
causing them to be treated as body data.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top