Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP CDO Mail Error - could really use some assistance

Status
Not open for further replies.

whoknows361

Technical User
Sep 22, 2005
228
US
Hello ASP'ers... Here is my dillemma. I have created a simple form which users enter info & then that info is emailed. Here is the code:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
msglname = request.form("lname")
msgfname = request.form("fname")
msgBody = request.form("message")
email = request.form("email")
Set myMail=CreateObject("CDO.Message")
myMail.Subject="This is a customer contact email!"
myMail.To="spicetradersteas@yahoo.com"
myMail.From="contactus@spicetradersteas.com"
myMail.TextBody="this email is from " & msgfname & " " & msglname & vbCrLf & msgBody & email
myMail.Send
set myMail=nothing
%>

It seems to work, but here is the problem. Every night or even very early in the morning I will receive 3-5 emails that look like this:

From : <contactus@spicetradersteas.com>
Sent : Thursday, September 22, 2005 2:50 AM
To : <spicetradersteas@yahoo.com>
Subject : This is a customer contact email!

this email is from flb@spicetradersteas.com flb@spicetradersteas.com
flb@spicetradersteas.com
flb@spicetradersteas.com

It looks as though all fields are being populated with non-sensical letters & they are always different (the letters) & they are always from spicetradersteas.com ?! And I get like 3 emails all sent at the same time ?! Could this be something with the server? (as it is late night/early morning). Can a server run some sort of update program or something that would process this form automatically? Or is there something wrong with my coding? I have verification restrictions on the forms (though the code above doesn't show it) but I was having this problem before I put the verification parameters in so I know they are not the problem. Please help. I appreciate it in advance.


 
are your network admins running some kind of bots that scan the whole server...

check with them...

-DNG
 
Sounds to me like you have a hacker or a bot that is causing this to happen. Have you tried the tricks to prevent bots from processing your contact page? I don't recall what they are, but you could search for them here or google them.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top