Les, Kind of weird for sure. How about trying to store the contents of the include file into a local var, and then use that in the body of the email.
<cfsavecontent variable="email_body"> <cfinclude template="textEMAIL_BODY.cfm" /> </cfsavecontent> <cfmail to="somebody.somewhere.com" subject="Just a quick test" from="[EMAIL PROTECTED]" failto="[EMAIL PROTECTED]"> #email_body#</cfmail> Dan On Wed, Sep 17, 2008 at 7:53 PM, Les Mizzell <[EMAIL PROTECTED]> wrote: > ARRRGGHH!!!! > > This is the kind of thing that makes you tear ALL your hair out! If > anybody can figure this one out, I'll treat you at Starbucks in some > future life! > > Seems simple enough - I'm just ending an plain text email: > > <cfmail > to="somebody.somewhere.com" > subject="Just a quick test" > from="[EMAIL PROTECTED]" > failto="[EMAIL PROTECTED]"> > <cfinclude template="textEMAIL_BODY.cfm" /></cfmail> > > > "textEMAIL_BODY.cfm" - for testing right now is: > > <cfoutput>From #request.someNAME#, > I'm testing plain text email!!!</cfoutput> > > That's *IT*!! Nothing else to screw up. > > When I send this, in the body of the email I'm getting (minus the quotes): > > ">From Tom" > > Now, before you say, well, you've got an extra ">" somewhere you just > haven't found yet.. > > If I change the first letter in "From" to lower case "from", the ">" > goes away. In fact, if I change it to ANYTHING else, lower or upper > case, the ">" goes away!!!! If I change it BACK to a cap "From", the ">" > returns. > > Now, it's gets even MORE weird! Let's CHANGE "textEMAIL_BODY.cfm" to: > > <cfoutput> > <cfif isDEFINED(req.DATE)>#req.DATE# > </cfif>From #request.someNAME#, > I'm testing plain text email!!!</cfoutput> > > Happens AGAIN - it seems that any combination of code that puts ">F" > together, results in the ">" displaying in the email! > > Yes, I can find a way to move the "From" away from a tag - but then it > messes with the spacing requested by the client. I've written dozens of > richtext email systems for clients, and have never run into anything > like this! > > I'M TOTALLY STUMPED!!! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312734 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4