I have a request form that calls an asp.net file to email request to my account.
My web hosting is on GoDaddy.com. Could someone help me find why it does not work? It worked on my old hosting.
Part of my form:
<!-- ////////////////////// FORM ///////////////////////////////////-->
<form action="aspmail.asp" method="post" name="frmRFQ" id="frmRFQ"
onsubmit="MM_validateForm('txtcompany','','R','txtemail','','R','txtphone','','R'); return document.MM_returnValue">
...
<tr>
<td width="304" valign="top" class="style6">Condition</td>
<td width="446" align="center" valign="top" class="style3"><input name="condition" type="text" id="txtcondition" size="50"></td>
</tr>
<tr>
<td width="304" valign="top" class="style6"> </td>
<td width="446" align="center" valign="top" class="style3"><input name="Reset" type="reset" id="Reset" value="Reset"> <input type="submit" NAME="Send" VALUE="Request info"></td>
...
</form>
<!-- ////////////////////// ENDING FORM ///////////////////////////////////-->
Part of my ASP file:
<%
strHost = "69.25.72.1" /* this may be incorrect does someone know what is the host IP for Godaddy? */
strRecepient = "me@yahoo.com"
strRecepient2 = "me2@yahoo.com"
If Request("Send") <> "" Then
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = strHost
Mail.From = Request("email")
' & " " & Request("name")
Mail.AddAddress strRecepient
Mail.AddBCC strRecepient2
' message subject
Mail.Subject = "Request for Info"
' message body
Mail.Body = "Request for Info: " & vbcrlf & "==================================================================" & vbcrlf & "Requested Date: " & Now() & vbcrlf & vbcrlf
....
Mail.Send
Response.Redirect "http://mysite.com/thank-you.html"
End if
%>