I am having a problem getting my cold fusion form to send an e-mail and I was wondering if anyone could take a look at my code? I am not sure what I am missing here? let me know if more information is needed or if you know of an easier way to do this? Also, PHP is not installed on my server (which is a bummer).
Thanks in advance!
<html>
<head>
<cfif isdefined(“Form.send”) and FORM.send eq “Send”>
<cfmail to="jeff.jerr@somewhere.com"
from="#form.name#"
subject=“Software Request”
type=“text”>
To Whom it May Concern,
Could you please install #form.Software# on the computer in my office?
My computer name is: #form.compName#
Thank you very much for your help.
#form.name#
</cfmail>
</cfif>
</head>
<body>
<form action="" name=“myform” id=“myform” method=“post” action="">
<table cellspacing=“2” cellpadding=“2” border=“0”>
<tr>
<td align=“right”>
Name
</td>
<td>
<input type=“text” name=“name” id=“name” />
</td>
</tr>
<tr>
<td align=“right”>
Computer Name
</td>
<td>
<input type=“text” name=“compName” id=“compName” />
</td>
</tr>
<tr>
<td align=“right”>
Software Program
</td>
<td>
<select name=“Software” id=“Software”>
<option value=“000” selected=“selected”>
[Select a Software Program]
</option>
<option value=“008”>
Adobe Acrobat Pro 9 (Win/Mac)
</option>
<option value=“012”>
Adobe Creative Suite 5.5 Web Premium (Win/Mac)
</option>
<option value=“080”>
Wimba Create (Win)
</option>
<option value=“084”>
WinSCP (Win)
</option></select>
</td>
</tr>
<tr>
<td align=“right”>
E-Mail Address
</td>
<td>
<input type=“text” name=“E-mail” id=“E-mail” />
</td>
</tr>
<tr>
<td align=“right”>
Confirm E-Mail Address
</td>
<td>
<input type=“text” name=“confEmail” id=“confEmail” />
</td>
</tr>
<tr>
<td align=“right”></td>
<td>
<input type=“submit” value=“Submit” name=“send” id=“send” />
</td>
</tr>
</table>
</form>
</body>
</html>