<cfmail to="#form.email#" not working
I'm Using Coldfusion 9
1. I have an action page entitled Thankyou.cfm. This page i designed to insert information into a database and send two different email to two different people. one email is to be sent to me (and it works just fine). Code is below.
<cfmail
from="FCSD Home Delivery"
to="hh@thesonco.com"
subject="You Have FCSD Home Delivery Request from #form.fname#"
replyto="#form.email#"
failto="bnice@ul.edu"
server="208.112.71.220">
A new order from:
Name: #Trim(FORM.fName)#
Phone: #Trim(FORM.Phone)#
Email: #Trim(FORM.Email)#
Delivery Option: #Trim(FORM.Deliveryoption)#
Comments: #Trim(FORM.CusGet_Updates)#
</cfmail>
2. The other other cfmail (written on the same page) does not send the confirmation email to the customer. The code is below
<cfmail
from="hh@thesonco.com"
to="#form.email#"
subject="Thank You #form.FName#"
replyto="hh@thesonco.com"
server="208.112.71.220">
Confirmation message goes here
</cfmail>
3. The first cfmail send just fine along with the proper insertion into the database. the second cfmail (written on the same page) never shows up on the customers email (as i had tried using my own separate email address).
Am missing something. All suggestions would be welcome thanks guys...
