How To Block Email Addresses

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


ADVERTISEMENT

ASP Email Form: Sends To Some Email Addresses But Not Others..

here is the script i use:

Set myMail=server.CreateObject("CDO.Message")
myMail.Subject="subject"
myMail.From="me"
myMail.To=request.form("email")
myMail.TextBody="hello"
myMail.Send
set myMail=nothing

this script sends emails to some addresses but not others--and its based on the email service it's sending to. for instance, hotmail email addresses get the email, but mail.com email addresses dont get the email. i have tried sending it to other email hosts, too, and still, some work, some don't. what is going on here?

View Replies View Related

Search Email Addresses

I want to search email addresses through phrase, for example there are 4 emails in the database like

abc@yahoo.com
abc1@yahoo.com
abc2@yahoo.com
abc4@yahoo.com
and i want to search thest all 4 email addresses through a phrase like 'abc'

View Replies View Related

Multi Email Addresses

Simple question no doubt -
I am trying to send an email to a form variable as well as a list of addresses, but I can't seem to get it to work. Please help.
I want to combine these two lines - what is the syntax?
Code:
MyCDONTSMail.To= "xxxxxxx@nzl.xerox.com"

Code:
MyCDONTSMail.To= creat_email
They work individually (I have declared creat_email).

View Replies View Related

Masking Email Addresses

Im currently working on a simple form which only contains one text box, I would like it so that the content within the box is e-mailed to a specific address but for the senders e-mail address in the From line remains anonamously masked in some way. Is this at all possible/ any tutorials on this?

View Replies View Related

Using Nslookup To Validate Email Addresses

I am wanting to validate the domain name of email addresses submitted through a form. Has anyone written a script for using nslookup to do this? My searches are finding components for sale.

View Replies View Related

How Can I Search Email Addresses Through Phrase?

I want to search email addresses through phrase, for example there are 4 emails in the database like:

abc@yahoo.com

abc1@yahoo.com

abc2@yahoo.com

abc4@yahoo.com

and i want to search thest all 4 email addresses through a phrase like 'abc'

View Replies View Related

CDONTS, ASP And Internal Email Addresses

I have an ASP page that emails the user who entered their email in the form, which could be an external or internal address. Internal addys come in the form of: symthe, poncenby
when this is type manually in an outlook message it gets resolved as being on the global addres list.

Testing at the moment consists of me emailing myself using the TO field being an external address and the FROM field being internal. The email get to me but the sender's address is just the first part of form value before the comma. e.g. smythe .

View Replies View Related

Mailshot Without Disclosing The Email Addresses In The To: Field

I want to send an emailshot from my ASP/VBScript page without disclosing the email addresses of its recipients in the To: field. I've only considered CDONTS. Can it do this? Or is there another way?

View Replies View Related

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 View Related

Email Send Failed: The Server Rejected One Or More Recipient Addresses

I am using ASP formmail from www.brainjar.com. I keep getting this error message:
Form could not be processed due to the following errors:

Email send failed: The server rejected one or more recipient addresses. The server response was: 550 endlessenergysystems.com.

The email address in the form is correct and does work. I have changed the settings to different email address and SMTP servers to try to figure out the issue. However I still get the same error. Here are the basic settings:

referers = Array("www.endlessenergysystems.com", "endlessenergysystems.com")
mailComp = "CDOSYS"
smtpServer = "smtp.readyhosting.com"
fromAddr = "info@endlessenergysystems.com"

View Replies View Related

Block Email Address Form Registering

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

Prevent Spammers From Entering Fake "donotreply@domain.com" Email Addresses?

i have a problem with an asp form on my workplace site. Spammers appear to be hammering it daily with requests, our form sends an automatic email, but the email addresses they enter are all fake "donotreply@whatever.com" which is causing a mountain of repeated mail delivery subsytem messages that run on for days. AVALANCHE!!!

Is there a method of blocking the text "donotreply" in email addresses via validation?

View Replies View Related

ASP And IP Addresses

I can't find the code to display the client IP address on
the client browser. Shouldn't it be 'session. '?

View Replies View Related

What Are The IP Addresses

I found some strange IP addresses from my sitemeter, like these :

61.64.190.183, 10.100.4.114
unknown
unknown, 220.133.93.18
105.200.35.170, unknown

They are retrieved by Request.ServerVariables("HTTP_X_FORWARDED_FOR") and
Request.ServerVariables("REMOTE_ADDR") in asp page.

what are they ?

View Replies View Related

Global.asa To Ban IP Addresses

I need to Ban IP's on my IIS server. I know the IP's I need to ban, but how to I write the global.asa file correctly.

View Replies View Related

Virtual Addresses

We have aan asp content management system running on IIS6 that produces hundreds of pages from one page template so each page is called mainpage.asp?id=22 and the number at the end changes.

Is there any way of attaching a virtual address to the pages so they could have for example news_story or about-us and control this using a database?

View Replies View Related

Web Addresses From Database

i have a little problem , if i want to get as a result of this code:

<a href="<%= rs.fields("fxurl") %>" target="obsah" style="text-decoration: none" ><%= rs.fields("fx") %></a>

a link named "something" and when you click this link youŽll get to "somewhere" , so when "somewhere" = "page.asp" it works fine but ....

View Replies View Related

Converting IP Addresses To Domains

ive got a piece of software (perl) that i use to track visitors on my site.
this software displays both ip addresses and domains of visitors

e.g.

A visitor from 81-178-202-110.dsl.pipex.com (81.178.202.110)
arrived without a referring URL,
and visited www.newmediadesigns.co.uk/index.shtml
at 03:01:28 PM on Friday, March 26, 2004.
This visitor used Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1).

what code do i need to display this domain information in asp?

View Replies View Related

Finding Addresses From Postcode

I'm looking at including the functionality of allowing the user to enter their ostcode / number and for the rest of their address details to be retrieved and populated.I have seen one or two solutions via google but these require you to pay, and I was wondering if this is something that can be achieved for free?

View Replies View Related

Importing ACT! And Outlook Addresses

We need to import the contact details from Act! and Outlook/Outlook Express
(Both) to a website (hosted database MSSQL or Access). Is that possible in
any ASP Scripting?

View Replies View Related

How To Store Multiple Mailing Addresses

I want to store multiple mailaddress like home address and shipping address. Sometimes addresses will be more than two. I am thinking about storing the details as a dictionary object....

View Replies View Related

Can You Block A URL?

I need to block a URL from printing at the bottom of the page from a
website. Is there any code that can do that? I know I can make it
into a PDF on the fly and that will elminate alot of hassle, but is
there any easier way?

View Replies View Related

For Each Block

I am tryong to iterate within a folder collection and am having problems getting to the next iteration when my if statement proves true:
For Each folder in foldercollection

if instr(lcase(folder.name),"_vti") = 0 then
next
else if instr(lcase(folder.name),"_vti") = -1 then
util.AddScopeToQuery Q, sPath & "/" & folder.name , "SHALLOW"
AddSubsToQuery Q, sPath & "/" & folder.name
end if
next

I get an error stating unexpedted next, but am not sure how to jump to the next item.

View Replies View Related

Block Of ASP

I have a block of ASP code (enclosed in <% .. %>).
How can I call that piece of code from another piece of similar code?
And can the code be in any order on the page for it to work?

View Replies View Related

How To Block The Keyboard

i want to disable the keybord because i am making a quiz test engin. when the user
gets to the test page he will be only using the mouse and will not need the keyboard
at all.

i have a code copied from somewhere and it uses vb code. i need to know if its
possible to do that in asp using vbscript or javascript?

View Replies View Related

Block MM_editAction

The first IF statement and redirect is what I need. It's the Else statement:

If Len(Request.Form(NAME_OF_CAPTCHA_TEXTBOX)) > 0 Then
If UCase(Request.Form(NAME_OF_CAPTCHA_TEXTBOX)) = UCase(Session("CAPTCHA")) Then
Response.Redirect("../Profile1.asp")
Else
Don't allow the form to upload to the db & m_sUserResult = "You typed " & Request.Form(NAME_OF_CAPTCHA_TEXTBOX) & " which was incorrect!"
End If
End If

I can not figure out how to block the MM_editAction (form upload) if the first "if" statement is false.

View Replies View Related

Need To Block Access To A Page...

I am designing an app with multiple users. User 1 logs in and navigates to a Page 1 where a page template is modified. When modifications are over User 1 saves the page and logs out of the system.

I need to block access to every other user to Page 1 until User 1 "releases" the page.
At the moment I am using a field on my Access DB called locked that I set when any user enters Page 1, and upon saving locked field is cleared... Is there a more efficient way to do this?

View Replies View Related

Block Or Redirect An IP Address

Can I do this if I know the person's IP address?

View Replies View Related

Vb Script Block Execute

I have a asp page and keep submit to itself and I use a hidden field to
track the step. But I found in each step, sometime the block is being
executed twiece. How to debug this and fix?

View Replies View Related

Block Closing The Window

if i run my project IE will open and output willl be shown. my need is u can able to see three butons(minimize,maximize,close) in yhe right corner of the IE window, me need is that should not be appear so only screen will be displayed.why i need this requirement is user cannot close teh window using any method, one method is this pressing this close button, i need to block this

my second need is if try to use alt+f4 to close the window i shouldn't close for ten minutes,after ten minutes he can use alt+ f4 to close so please give me coding for this also

third way is if he tries to use windows+d or windows+m or alt+tab it should not work,i need to block this way also

View Replies View Related

Block Access To Website

is there any way to block access website to particular country internet users.

View Replies View Related

Block INTERNET EXPLORER

i am looking for to block INTERNET EXPLORER to doing its activity.how can i stop IE not to use back button OR like this way if someone want to go back from the certain page. can we show the any other IE generated messages.like page cannot be displayed etc

my basic requirement is not let the user to see his last page which he had submitted
can it be done?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved