
December 22nd, 2007, 11:06 PM
|
|
Registered User
|
|
Join Date: Dec 2007
Posts: 3
Time spent in forums: 56 m 54 sec
Reputation Power: 0
|
|
|
Cfmail problem!!
Hello,
My name is Josh and I have been programming in coldfusion for 3 wks. I am interning at a interactive advertising/marketing agency. I have been giving an assignment to make a CF application to log problems for our designers/programmers. The outcome of this application will mean a paying job for me! now thats out of the way.
I am making my user signup page (where users submit F/L name, email, password etc. I want this info to be sent to me so i can insert this in to my SQL DB. In the future i will link this up to our network to be more efficient. But for now I will keep it short and functionally. here is my problem. I'm not receiving any emails!!!
I know i am missing something please help. Here is the code (this is plan and not formated...)  :
Code:
<!--- form input --->
<CFPARAMNAME="FORM.Email" DEFAULT"">
<form name="user access" method="post" action="#cgi.SCRIPT_NAME#">
Enter Email Address:
<input type="text" name="Email" size="25" >
Enter First Name:
<input type="text" name="FirstName" size="20">
Enter Last Name:
<input type="text" name="LastName" size="25" >
Choose Programmer or Designer:
Programmer:
<input type="checkbox" name="programmer" checked="checked" >
Designer:
<input type="checkbox" name="Designer" checked="checked" >
Comments to Admin
<textarea name="Comments" rows="5" cols="50" wrap="hard"></textarea>
<input type="submit" value="submit">
<input type="reset">
</form>
<!--- outform --->
<cfmail to="joshuagonzalez14@hotmail.com"
from="lOGIN PAGE"
subject="Need access to email site"
type="text">
thanks for submitting
</cfmail>
<cfoutput>
<p> thank you #FORM.email# for registering we have just sent admin an email</p>
</cfoutput>
</body>
</html>
|