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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to