ColdFusion Email Form via Submit Button

Discussion in 'Programming' started by timan, Oct 21, 2009.

  1. #1
    I am lost, I am new to ColdFusion and am trying to create a "Contact Us" page. I have a form made up with all the fields that I need on the page. I want it to email the form to "email@mydomain.com" upon hitting submit. However I am stuck and cannot get the form to work properly. Can somebody, anybody help :confused::confused::confused:

     
    timan, Oct 21, 2009 IP
  2. FCM

    FCM Well-Known Member

    Messages:
    669
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    155
    #2
    I recommend you going to http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pta.htm to view the documentation of cfmail.

    It's extremely simple to send mail using coldfusion.

    <cfmail to="blah" from="blah" subject="blah">

    email body goes here in your case you would be using a lot of the following.

    Field #form.fieldname#

    </cfmail>

    I would more then happy to build a solution for you but it would cost you.
     
    FCM, Oct 22, 2009 IP
  3. unitedlocalbands

    unitedlocalbands Well-Known Member

    Messages:
    246
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Do a search in this forum on cfmail tag. I bet this has been covered. Also try posting the error you are having.
     
    unitedlocalbands, Dec 19, 2009 IP