--============_-1244231376==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Hi. I'm having problems with my e-mail invoice again. Same app I have 
on other 4.51 servers and on plenty of 4.01 servers. I'm getting a 
strange wrapping, or I should probably say "not wrapping" problem.

Here is the simple code. At the top of the cfmail tag it wraps fine:

*******
Thank you for your purchase.

Please return soon.

Invoice Number 004247:

Qty. - Product Name - Price Each
Total For Item (Quantity X Price)
********

But at the bottom:

Here is the code:

Purchased by #mem_id#:
Payment Method: #payment_type#
#Firstname# #Lastname#<CFIF Trim(company) IS NOT "">
#Company#</CFIF>
#email#
#address#<CFIF address2 IS NOT "">, #address2#</CFIF>
#City#<CFIF state IS NOT "">, #state#</CFIF><CFIF zip IS NOT ""> #zip#</CFIF>
#Country#
#phone#

Here is the output:

Purchased by 0007020001:
Payment Method: Online CC Bud Schneehagen [EMAIL PROTECTED] 7517 
SW 7th St N. Laud., FL 33068US 954-721-3452

The line starting with Payment Method always comes out on one line. 
Why? I've tried everything. Manually going through and entering each 
line break manually again. Uploading from Mac and Windows. As ascii 
and as binary. It's very annoying as it's also erratic. Some lines 
break fine. Some don't.

It seems to not wrap wherever I have a variable being output at the 
end of a line rather than plain text, even though as you can see, 
there is a line break after the variable in the code. So, for the 
heck of it I ran a test putting a colon just before each line break 
at the end of lines ending with a variable. It output correctly 
(below). Any clues? This doesn't happen on any other server other 
than virtualscape's. Any clues?

Purchased by 0007020001:
Payment Method: Registration Only:
Bud Schneehagen:
[EMAIL PROTECTED]:
7517 SW 7th St:
N. Laud., FL 33068:
US:
954-721-3452:
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
--============_-1244231376==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
 --></style><title>Wrapping Problems in CFMAIL -
4.51</title></head><body>
<div>Hi. I'm having problems with my e-mail invoice again. Same app I
have on other 4.51 servers and on plenty of 4.01 servers. I'm getting
a strange wrapping, or I should probably say &quot;not wrapping&quot;
problem.</div>
<div><br></div>
<div>Here is the simple code. At the top of the cfmail tag it wraps
fine:</div>
<div><br></div>
<div>*******</div>
<div>Thank you for your purchase.<br>
<br>
Please return soon.<br>
<br>
Invoice Number 004247:<br>
&nbsp;<br>
Qty. - Product Name - Price Each</div>
<div>Total For Item (Quantity X Price)</div>
<div>********</div>
<div><br></div>
<div>But at the bottom:</div>
<div><br></div>
<div>Here is the code:</div>
<div><br></div>
<div><font size="-1">Purchased by #mem_id#:<br>
Payment Method: #payment_type#<br>
#Firstname# #Lastname#&lt;CFIF Trim(company) IS NOT
&quot;&quot;&gt;<br>
#Company#&lt;/CFIF&gt;<br>
#email#<br>
#address#&lt;CFIF address2 IS NOT &quot;&quot;&gt;,
#address2#&lt;/CFIF&gt;<br>
#City#&lt;CFIF state IS NOT &quot;&quot;&gt;,
#state#&lt;/CFIF&gt;&lt;CFIF zip IS NOT &quot;&quot;&gt;
#zip#&lt;/CFIF&gt;<br>
#Country#</font></div>
<div><font size="-1">#phone#</font></div>
<div><br></div>
<div>Here is the output:</div>
<div><br></div>
<div><font size="-1">Purchased by 0007020001:</font></div>
<div><font size="-1">Payment Method: Online CC Bud Schneehagen
[EMAIL PROTECTED] 7517 SW 7th St N. Laud., FL 33068US
954-721-3452</font></div>
<div><font size="-1"><br></font></div>
<div>The line starting with Payment Method always comes out on one
line. Why? I've tried everything. Manually going through and entering
each line break manually again. Uploading from Mac and Windows. As
ascii and as binary. It's very annoying as it's also erratic. Some
lines break fine. Some don't.</div>
<div><br></div>
<div>It seems to not wrap wherever I have a variable being output at
the end of a line rather than plain text, even though as you can see,
there is a line break after the variable in the code. So, for the
heck of it I ran a test putting a colon just before each line break
at the end of lines ending with a variable. It output correctly
(below). Any clues? This doesn't happen on any other server other
than virtualscape's. Any clues?</div>
<div><br></div>
<div>Purchased by 0007020001:</div>
<div>Payment Method: Registration Only:<br>
Bud Schneehagen:<br>
[EMAIL PROTECTED]:<br>
7517 SW 7th St:<br>
N. Laud., FL 33068:<br>
US:</div>
<div>954-721-3452:</div>

<div>-- <br>
<br>
Bud Schneehagen - Tropical Web Creations<br>
<br>
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/<br>
ColdFusion Solutions / eCommerce Development<br>
[EMAIL PROTECTED]<br>
http://www.twcreations.com/<br>
954.721.3452</div>
</body>
</html>
--============_-1244231376==_ma============--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to