I have a webform and seems some spammer got hold of it.
Here is the code.
I need a way to hide the email. Is it possible to do it here w/out changing much on the form?
thanks
DIM strName, strEmail,strComments, Mailer
strName = request.form("txtName")
strEmail =request.form("txtEmail")
strComments =request.form("txfComments")
Set Mailer =Server.CreateObject("CDONTS.NewMail")
Mailer.From = strEmail
Mailer.Subject ="email to webmaster"
Mailer.To = "mymail@mysite.com"
Mailer.BodyFormat=0
Mailer.MailFormat=0
Mailer.Body = "Requested info." &"<br>" &"<br>" & _
"<b>Name: </b>" & strName &"<br>" & _
"<b>Email Address: </b>" &strEmail &"<br>" & _
"<b>Comments: </b>" &strComments &"<br>"
Mailer.Send
Set Mailer = nothing
Response.write "<div align='center'>Thank you for your comments<br>"
</div>"
%>
<P><h4 align="center"><a href="index.html">Go Back</a> </h4>
</P>
Here is the code.
I need a way to hide the email. Is it possible to do it here w/out changing much on the form?
thanks
DIM strName, strEmail,strComments, Mailer
strName = request.form("txtName")
strEmail =request.form("txtEmail")
strComments =request.form("txfComments")
Set Mailer =Server.CreateObject("CDONTS.NewMail")
Mailer.From = strEmail
Mailer.Subject ="email to webmaster"
Mailer.To = "mymail@mysite.com"
Mailer.BodyFormat=0
Mailer.MailFormat=0
Mailer.Body = "Requested info." &"<br>" &"<br>" & _
"<b>Name: </b>" & strName &"<br>" & _
"<b>Email Address: </b>" &strEmail &"<br>" & _
"<b>Comments: </b>" &strComments &"<br>"
Mailer.Send
Set Mailer = nothing
Response.write "<div align='center'>Thank you for your comments<br>"
</div>"
%>
<P><h4 align="center"><a href="index.html">Go Back</a> </h4>
</P>