Take a look at <CFSAVECONTENT> you can do all the building of the body outside of the CFMAIL tag and trim whitespace from there.
~Todd At 10:47 AM 1/7/2003 -0500, you wrote: >Hi All, >I'm looking for some kind of best practice when using the CFMAIL tag in >terms of selectively controlling whitespace. If you look at the example >below, my problem is the that the <CFIF> statements create an empty row even >if they are not called - so if only one CFIF statement EQ Yes, I will still >have several rows of white space. I've also found that the <CFMAILPARAM> >tag used after the beginning <CFMAIL> statement also creates a blank line at >the top of the mail message. In addition, I would like my Phone, Email, and >Web rows (at the bottom) to line up nicely. > >CFPROCESSINGDIRECTIVE as shown below has no effect on the output. What's >the best solution others have used? <CFSILENT> ? <CFSETTING >ENABLECFOUTPUTONLY> ? > >Thanks, >Mark ---------- Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ Team Macromedia Volunteer for ColdFusion http://www.macromedia.com/support/forums/team_macromedia/ http://www.devmx.com/ ---------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

