Question : Web design - gdform.asp missing

Hello,
I have an error on one of our pages.
"gdform.asp" missing....
we have contact us page. User enters name, email and info then hits submit button.
I can't seem to find that asp file on a server....
I am not a asp user, so I don't know anything about it....

can you guys help me....

thanks

Answer : Web design - gdform.asp missing

assuming your form has fields with the following names:
theName, theEmail, theInfo

then the script below is pretty much what you need, so save it as gdform.asp and try it, but provide valid email addresses for the FROM an TO
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
<%
Dim data
data = ""
data = data & "Name: " & Request("theName") & vbCrLf
data = data & "Email: " & Request("theEmail") & vbCrLf
data = data & "Info: " & Request("theInfo") & vbCrLf 
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="[email protected]"
myMail.To="[email protected]"
myMail.TextBody=data
myMail.Send
set myMail=nothing
%>
Thank you
Open in New Window Select All
Random Solutions  
 
programming4us programming4us