Skip to main content
Participant
July 26, 2007
Question

Coldfusion form probelm

  • July 26, 2007
  • 3 replies
  • 1124 views
What am I doing wrong here?
<body>

<cfmail
to="npockat@solarus.net"
from="npockat@solarus.net"
subject="Feedback">

Thank you for submitting our form.
You submitted the following information:

First Name: #Trim(FORM.firstname)#
URL: #Trim(FORM.URL)#
Would you visit this website again? #Trim(FORM.visit)#
How did you hear about my site? #Trim(FORM.hear)#
Comments or Suggestions: #Trim(FORM.Suggestions)#
</cfmail>
<cfoutput>
First Name: #Trim(FORM.firstname)#
URL: #Trim(FORM.URL)#
Would you visit this website again? #Trim(FORM.visit)#
How did you hear about my site? #Trim(FORM.hear)#
Comments or Suggestions: #Trim(FORM.Suggestions)#


</cfoutput>
</body>
    This topic has been closed for replies.

    3 replies

    BKBK
    Community Expert
    Community Expert
    August 1, 2007
    What did the mail log file say? What is the result of the following test?

    <cftry>
    <cfmail
    to="npockat@solarus.net"
    from="npockat@solarus.net"
    subject="Feedback">
    Content of test mail.
    </cfmail>
    <cfcatch type="any">
    <cfdump var="#cfcatch#">
    </cfcatch>
    </cftry>


    Noah32Author
    Participant
    July 26, 2007
    Not getting anything sent to that address. It just takes me back to the html page.
    Inspiring
    July 27, 2007
    Code looks right. Check your calling page as well as Mail server settings in CF Administrator.
    Inspiring
    July 26, 2007
    What is the problem you are experiencing?