Skip to main content
Participant
July 23, 2008
Question

Form emailer and xml

  • July 23, 2008
  • 1 reply
  • 299 views
I have a form set up and if a user inputs their first name I want the email sent to have their first name surrounded by XML. I have tried this but it doesn't work(the email gets sent with the xml stripped out):

<cfoutput>
<firstname> #form.firstName# </firstname>
</cfoutput>
This topic has been closed for replies.

1 reply

Inspiring
July 24, 2008
First, you don't need the cfoutput tag, cfmail includes this.

Second, are you sending the mail as text or html? If you are sending as html change the angle brackets to &lt; and &gt;.