I believe CFMAIL handles the formatting of whatever text is placed inside
it, much the way HTML <PRE> tags do.
~Simon
> Simon Horwith
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
>
-----Original Message-----
From: Jay Jennings [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 11:44 AM
To: CF-Talk
Subject: CFMail CRs
This sounds like a stupid newbie question (is the newbie stupid or is it the
question?) but I'm bonking my head against my monitor right now...
Take a look at the code down below. Two CFMAIL things. The first sends an
email with no carriage returns -- everything's on one line (that wraps). The
second CFMAIL sends the email as it's formatted. What's the difference?
The code:
<cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]"
subject="Broker Info Requested" server="#mailserver#">
#first_name#
#last_name#
#addr_1#
#addr_2#
#city#
#state#
#zip#
#day_phone#
#evening_phone#
#email#
#work#
#weeklyhours#
#startinggoal#
#annualgoal#
#previousnm#
#first_name# #last_name#
#addr_1#
<cfif Len(Trim(addr_2))>#addr_2#</cfif>
#city#, #state# #zip#
</cfmail>
<cfmail to="#email#" from="[EMAIL PROTECTED]" subject="Broker
Info Requested" server="#mailserver#">
#first_name# #last_name#,
Thank you for requesting info on the broker plan
from http://www.DentalPlanInfo.com
I'll be mailing you information on starting your own Dental Plan
business, but if you have any immediate questions, feel free to
call me at 1-888-328-1660 (9AM to 9PM Pacific).
Jay Jennings
Broker
DentalPlanInfo.com
</cfmail>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists