Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Double quotes & cfmail

Status
Not open for further replies.

nero

Programmer
Sep 11, 2000
25
AU
I've come across something weird:

I have a client who has entered text into a form which calls a cfmail to mail out the contents of a form field.

It appears the use of double quotes causes the text to truncate. eg.

form field: this is a "test"
cfmail body: this is a

My client is putting href anchor tags in his emails and these work. I've yet to find out if he is using double or single qoutes for these.

Anyone else experienced this truncation problem?
 
Is your client using a textarea formfield? I would suggest doing so. Regardless, if the formfield is named "message", try passing it using #ParagraphFormat(form.message)# and see if that eliminates the problem. I won't swear that it will, but ... John Hoarty
jhoarty@quickestore.com
 
I can't duplicate this problem. Would you mind showing the code you are using associated with CFMAIL and a specific example of some text that you have tested that is truncated? - tleish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top