>I'd dump your form contents just before your cfMail to check what
>form.s_email contains.

well it appears to be dumping the right thing.  Here's the form, which is just two fields:
http://eatsmart.umd.edu/home/suggestion_form.cfm

I added a Trim() but it didn't seem to help.  The code currently is:

<cfoutput>
      <cfset the_email = Trim(#Form.s_email#)>
      Form.s_email:#Form.s_email#
      Form.s_email:#the_email#
</cfoutput>
<cfmail
      TO = "[EMAIL PROTECTED]"
      FROM = "#the_email#"
      <!---FROM = "[EMAIL PROTECTED]" --->
      SUBJECT = "Eatsmart Suggestion"
      TIMEOUT = "30"
      SERVER = "mail.umd.edu">
      #Form.suggestion#
</cfmail>

>For the second issue, you've specific type="HTML", which means you'll
>need to use HTML to layout your text (use p or br tags for line
>breaks).  If you want returns to be handled as line breaks, just
>eliminate the type attribute.

That worked great, thanks!
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to