ASP Form- How To Block An Email Address?
I was wondering if anyone could shed some light on how to blacklist certain email addresses or domains form posting in my form. I have client side validation to ensure fields are entered correctly and contain the correct values.
I need to adapt my script (below) to block email from "@mail". I am getting losts of spam from this email address filling in my form. Code:
View Replies
ADVERTISEMENT
I want to prevent people with yahoo, hotmail, gmail accounts from registering to my site. Here is where I do Email Insert Confirm. How do I block these email Address:
Code: .....
View Replies
View Related
Just starting to play with scripts, and need a little guidance. I want to check to make sure that the email addresses users enter in a form are identical before it will allow them to submit. here's what i have:
the variable for the second email address is EmailFrom2
'validation
Dim validationOK
validationOK=true
If (Trim(EmailFrom)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("emailerror.htm?" & EmailFrom)
If (Trim(Name)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("nameerror.htm?")
If (Trim(CityState)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("citystateerror.htm?")
If (Trim(SchoolName)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("schoolnameerror.htm?")
View Replies
View Related
Can I do this if I know the person's IP address?
View Replies
View Related
I use a free database-driven ASP guestbook. I want to add a IP address
blocking filter to it( just to block one particular guest). What is the
easiest way to do so?
View Replies
View Related
I want to create form in which user specify his details. But that mail should be take cc address from database and also that form have one attachment field.
Mail body must be in html format. Attachment and "from" his email field compulsory....
View Replies
View Related
What I am trying to do is create a page on my company's internet site so that our customers can fill out a form, click a submit button and then have the data they entered be emailed to me. I have already created the form within Dreamweaver MX. How do I setup the Submit button to automatically email the information to me?
View Replies
View Related
I am trying to set up a contact page using Matt's FormMail ASP script (because my hosting is on a Windows server I am unable to use the easier Natemail PHP script)
It is simple enough to send an email to a single email address but I want to have a form with a choice of 4 email address's to send to that are chosen by way of a tickbox (it doesn't have to be a tickbox but that is what I prefer at the moment)
Does anybody know of a method to do this?
(I am using Adobe Golive CS2)
View Replies
View Related
I'm really new to this and want to submit the data entered in a form to my email address. My problem is that I get the email but none of the data is being "grabbed" so although I get the headers I don't actually receive any of the information I really need.
What am I dong wrong? - this is my code:.....
View Replies
View Related
In my page, i have 6 textbox field:
name, id, email address, age and bookingStatus, bookingMessage.
when i click a button in the page(mailto), the ms outlook will opened, and all the information in the field(name, id, email address, bookingStatus, and bookingMessage) will be displayed in the ms outlook in the message part before i send the email.
I want to use the "mailto" code!
The form will be emailed to the user according to the email field, that means, the "mailto" address will come from the form "email address field" in the form
The subject of the email will be: fixed as "BOOKING STATUS"
View Replies
View Related
I have a resume form with four separate pages,and on the last page when you submit the form I need it to gather all the information inputed to be sent to an email address.
View Replies
View Related
I have a webpage with ASP that is a form. I have the form setup to send the results to an email address (using the Frontpage feature). We have published the page to the web, but it will not send email. It simply does nothing. This is the code:
<form name="Datasheet" method="POST" action="DataSheet.asp" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE"
S-Email-Address="ray.clark@721-file.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields startspan -->
View Replies
View Related
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
View Replies
View Related
I want to block certain email addresses like,(See the MailTo Section, I don't want the Sandra email address), through my online forms. I've been receiving spam from people using the forms. My code below is ASP. The code basically sends the form data to 3 email addresses and send the visitor who filled out the form an HTML style email message as confirmation. I added an IF THEN statement (Look at the MAIL TO) for the unwanted email address thinking it would do the trick but it doesn't block or send the email to the unwanted email address. Here's the beginning of my code. Any help would be greatly appreciated. NOTE: I replaced the wanted email addresses with phony names because they are private.
<%
If request.form("Email")="" then
response.write "<p><br><center><font face='arial' size=3>"
response.write "<b>Please don't forget to enter your"
response.write " Email address!</b></font>"
response.write "<form>"
response.write "<input type=""button"" value=""Return to Form"""
response.write " onclick=history.go(-1)></form>"
Else ........
View Replies
View Related
I have a wizard that teaches kids how to write legislative bills. It is a series of 5 screens that forwards each page's entries to the next before proceeding to the next screen. All five screens worth of data are then inserted into the db on the final submit.
I am getting rare reports that on the submit of the final edit screen the entire data entry disappears. I have not been able to duplicate the problem here and it only has happened to 2 of 300 entries that I am aware of so far. Could this be a firewall issue or a browser settings issue of some sort?
View Replies
View Related
Im running a simple mail system program which emails newsletters to a database list of 3000+ users.
The program loops through a database containing the emails and sends them out using ASPEmail.
My question is, is there some way i can validate each email address so that if there are invalid characters e.g. the space in "blah @blah.com"
it will skip the record and continue the loop.
At the moment i have a working program however, whenever the program comes across an invalid email address it stops at that record and prevents the program from emailing any further.
View Replies
View Related
1. I want users to type in their email address on a textfield, and after users press the "Submit" button. The info will automatically go to another person's email to receive a compliment, suggestion, etcetera.
2. Another is how to include the message written on a textarea of a form with the ASP code supplied below: Code:
View Replies
View Related
I have a webform that I would like for customers to fill out. Their information is written to a sql db and in the background, an email is sent back to the customer and also proving a url for them to fill out a questionare. Ok, that part is done without any problems.
The url that I am providing to the customer to return back to the site, is also passing their email address in the url for validation. which is http://www.url?email=email
Here is the query that I am trying to run in displaying their company information:
SQL = "SELECT * FROM CONTACT where email = " & request.QueryString("email")"
If i do a basic select * from contact, that works, so it has to be w/ the ending part of passing the email address.
View Replies
View Related
I would like to provide the text field to let the user key in the email address. How to ensure that they at least will key in the "@xxx.com"?
View Replies
View Related
Can anyone help me to write a scrip to extract an email address, name and address from an xml file.
A sample file looks like this:
View Replies
View Related
I have a form that registers users and adds their details to a database.
I am looking for a validation msg that chaecks that a users email address has not being used to register before.
Any ideas of where I can find one like this?
View Replies
View Related
Is there a way where I can confirm that the email address in the DB is a valid one?
eg. .....@yahoo.com.sg
View Replies
View Related
I have a website where users can enter their email address and submit a form. This form inserts that email address into an access database and reloads the page showing the added email address. The site is entirely in asp.
The problem is that I am afraid that spam bots will find the "mailto:" links and the "@" sign in the asp code and use that to add the email addresses to a spam list. I am aware of javascript methods to work around this, but I cant do it because it would require a client-side function call, which cant be done in asp. Also, I am aware of the code in which each letter is replaced with some symbols, but I have heard that spambots can find this too.
Does anyone know of a solution to this problem? I have searched the web and havent found much help. Any info. would be appreciated. If this can be done in another programming language, i will be willing to switch from asp.
View Replies
View Related
Basically one of our clients has asked us to save all emails sent to a particular email address. eg.'bruce@almighty.com' to a database.
I don't even have the slightest idea as to how this could be done via ASP on a web server.
View Replies
View Related
I trying to send an email using CDO Mail compontent with ASP.I would like to pull the email address from a database. I have created recordset, and I can get the first address to work, but I can not figure out a way to make it loop so it pulls all the email address from the database and sents the email to all of them.
View Replies
View Related
I have about 10 text boxes and "Email_Address" is one of the first boxes. I would like it so when they exit the Email_Address box it checks to see if it is in the right format before they continue.
I have scripts that check at submit, but the form already goes through another complicated Perl script then and I did not write the script so I would rather not mess with that.
View Replies
View Related
I'm sending mail using below code. It works fine. How can I send email to more than one address. I wanna add one more address in .to feld or in .cc
Set cdoMessage = Server.CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "abc@abc.com"
.To = "xyz@xyz.com"
.Subject = "abc"
.HtmLBody = body
.Send
End With
View Replies
View Related
i am currently writing a web page where a user has to register by admitting several details via a simple form. In this form, i have 2 text boxes one for entering their email address, and another for confirming the email address. I know how to validate that the 2 email addresses entered are identical, but i would like to be able to validate that the email address entered is in fact in a valid email address format.
i.e. right now, a user could enter "hello" in box 1 and "hello" in box 2 and this would be valid. There are obviously many different valid email formats, so how can i check that the data entered is in a patricular valid format?
View Replies
View Related
How do you write in asp to verify email address whether it is valid or not.
Is it related to nslookup? Is there any way i can do it.
i mean test@abc.com is a bad mail or something else.
View Replies
View Related
My website uses ASP SmartMail to send Contact Us and Order Forms. In both the forms It only sends the forms to kirti@one-world-trading.com although I want it also to go to my msn address. Here is what the form looks like....
View Replies
View Related
Using ASP and CDONTS to send a simple email to an address that is chosen from a drop-down.
This works, however I currently have a textbox ('From') that the user has to manually enter their email address.
Is there anyway I can assign the outlook email address to a variable, without actually using outlook to send the email (i.e mailto?)
View Replies
View Related
Has anyone been able to use a variable for the To: line with CDOSYS? When I
put in a specific address like: myMail.To = "webster@thisplace.org" it works
fine. When I put in a variable like: myMail.To = areaDirector it doesn't
work. I did a reponse.write on the areaDirector and it comes out like it's
supposed to: Join Bytes!
Any ideas? Does it have something to do with the quote marks?
View Replies
View Related
I can't remember the code for email address link. The program will open up default email service when the user click on an email. Do you know what I'm talking about?
View Replies
View Related