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?
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>"
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).
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?
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.
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 .
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?
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:
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?
1st, i want to auto check my db to see if there's any mails to be sent on that day, at 12am everyday... i should create a batch file or create a asp script and use vbscript to call my asp file? How to create a batch file?
2nd, i go a search function..
In my db, i got a column with data like this "a , b , c" When the user entered "a", i want the information that have "a" in that coulmn to be taken out... i want an exact match of the word (seperated by the comma).. But when i search, how do i seperate the data in the column by a comma to see if i have an exact match?
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?
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?
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?
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?
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....
i get the ref url that come to my site and i want to convert it to find out what was the query in (google or other searcher sites)
foe example : if someone goes to google and search some text and my site was in his resaults and he click on it , in my site i see his link ref like http://www.google.co.il/search?hl=i...91-Google&meta=
i want to know (in asp and save it to DB) what was the word or words that the user write in search engine.
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.
I am having a problem formatting an email message which comes from a form.
I am currently having difficulty with the <br> tag which I am using for line spaces within my email. I am getting an expected statement error message which is pointing to the line which is underlined below. I can't think what is causing this.
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:
how to write to check verification valid email thru nslookup or mx record or dns record. Is it possible to do that. Is there any tutorial from sitepoint, previously found it but i lost the link.
example to check assume test@domain.com is not a real email, abc@domain.com is real email how do u check it.
I am trying to create a parametric search within a table (in the column headings). My first page (search.asp) allows you to choose parameters from a dropdown box, such as package and volts. You click "search" and it reads the Access dbase to yield the results.
The results page (results.asp) displays the information based on the parameters. Under the package column heading, I have the same drop down box, and I am able to once again choose the package I want and the table will refresh. Code:
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?")
Dim Mail Set Mail = Server.CreateObject("CDONTS.Newmail") mail.From = "abc@hotmail.com" mail.to = "xyz@hotmail.com" mail.subject = "Test Email Subject" mail.body = "This is Email body message" mail.send
Now the question is that this code will use the Default Virtual SMTP Server in IIS, but I want to use my ISP's SMTP server. please tell me how to do this. I have used my ISP's email server in Outlook express and it is working fine. Please do not suggest to use "CDO" or "CDOSYS" to use for sending emails because I must have to use "CDONTS".
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.
I have list of songs in table in asp page. I would like to put a link to each song so when user click on one I can search database for it's data. How to do that?
i have a database with 5 tables, on my web site i have a search bar.. i wana link that search bar to my tables so.. when ever some 1 searchs for a product, the search bar shows that all the simmuler products to what they searchd for..