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
ADVERTISEMENT
I have a very simple feedback form: Name, Email, Comments.
I would like it send to my Yahoo email. I just wonder it is possible to send it to my yahoo email …. without asking the users installing any components?
I cannot use "CDO.Configuration") because I don't know SMTP Server.
View Replies
View Related
I'm trying to validate a form which sends an e-mail. This is the code which sends the e-mail but i want to know what code i need to validate particular fields of the form and link it back to the previous page (index.asp) if unsuccessful. Code:
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
I’m trying to allow large amounts of text, like up to 6 pages (many paragraphs) of text to be inputted into textarea that then sends off thru email.
When I receive the email, all the paragraphs that I’ve submitted become 1 big long paragraph.
I tried wrap attribute but it does nothing.
Is it possible to receive a paragraph by paragraph by using textarea?
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 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
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
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
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
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
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
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
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
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.
The code for my processing page is below:-
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
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
I've been trying to figure this out for about an hour now but a combination of my own narrow scope and limited experience, coupled with a general lack of information on this sort of thing has this ASP newbie scratching his head. I was told that the issue with receiving multiple instances of the document is relevant to this chunk of code:
View Replies
View Related
Im having problems with my form, separately both forms work perfectly, but having problem sending the email once submitted, however the upload fuction is working fine. The message im getting is,
Request object error 'ASP 0207 : 80004005'
Cannot use Request.Form
/forminfo.asp, line 42
Cannot use Request.Form collection after calling BinaryRead.
Heres the script Code:
View Replies
View Related
Would anyone be able to give some guideance in ASP code as to how I would repeat a section of input fields in a form based upon the number of guests that are attending an event?
Basically, what needs to happen is if 3 guests are attending, I need the Name, address, city, state fields to repeat so they can be filled in with information.
Then all of the information from the whole form is submitted which returns an email to the administrator of the event.
View Replies
View Related
<%@Language=VBScript %>
<%option explicit%>
<%
MESSAGE = (Request.Form("type"))
MESSAGE=MESSAGE & vbcrlf & "Name" & (Request.Form("name"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("address"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("handphone"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("phonenumber"))
MESSAGE=MESSAGE & vbcrlf & vbcrlf & (Request.Form("comments"))
MESSAGE=MESSAGE & vbcrlf & vbcrlf
MESSAGE=MESSAGE & "____________________________________________"
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From =Request.Form(email)
objMail.To = "icepricessa@hotmail.com"
objMail.Subject = "Business/Career Enquiries"
objMail.Body = ""&MESSAGE&""
objMail.Send
Set objMail = Nothing
%>
but somehow i'm not able to send the mail....
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
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.
View Replies
View Related
i want to create an email form in ASP that can send emails to one and if possible multiple email addresses.
1. what requirements do i need. ie. web hosting .etc
Is it possible to make a form with a dropdown box for the different email addresses?
does anyone know where i can download a copy of something like this or have a copy themselves?
It can be just a simple type in your name, comments and submit form. just anything that works and how i get it to work.
View Replies
View Related
Does any one have working or sample scripts that will retrieve a form information and send that information to a specified email account? eg. a data request or a user comment form.
View Replies
View Related
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Option Explicit
Response.Expires = 0
'you need to set up a variable (declare variables) for each filed fron your form page
' what I like to do is use the exact same name and add str for string to the beginning of it.
Dim strFirstName
Dim strLastName
Dim strAddress1
Dim strAddress2
Dim strCity
Dim strState
Dim strZip
Dim strEmail
' After you declare the variables you need to assign a value to each one.
' each variable will be assign the corresponding value being sent from the form
'If you need other form fields, declare them above and assign a value here, Just
'follow the same format......
View Replies
View Related
We run a small web ministry.
Our hosting company doesn't allow PERL, only Bamboo.SMTP and JMail asp's. (myhosting.com)
Our need? Turn the prayer request forms to an email that can
1. either send a different email to the requestor OR BCC an autoresponder we can set up.
2. BCC an email exploder on our mail system
3. make the FROM the requestor (done) and the TO: a 3rd email name on our system.
I see someone asked about a BCC function on Bamboo (none found), but the JMAIL set up we put up successfully executes but no emails are sent.
View Replies
View Related
I have a form when the end user hits submit it will go to email and database. What I am looking to do is if the user selects this particular checkbox it will go to both database and email. Otherwise it will just to the database. In the form below I am expecting the user to check the "sendback" checkbox if they want to send the email, if this checkbox is left blank it will simply add a new record in the database. See code below...
form.html....
View Replies
View Related
I am trying to create a form where when you click on the submit button, all the information in the form will be sent to the company email. And another form which content the thank you message will be sent to the client email. While doing i have successfully sent the message to both parties email. However, for both email there is no information written inside. Below is the code.....
View Replies
View Related
how can i configure webform to insert to database and send to email at the same time
i know how to do it individually but not together
html form:
<form name="form" method="post" action="">
View Replies
View Related
I designed a website which has a form in one of the pages..What I don't know is what i am supposed to write as script to make the form work. I want when users fill out the form and hit the submit button, all data will be sent to an email.
I'm aware that I should be using cgi or asp. but dont know how the script will look like and where should I put it in the server.
View Replies
View Related
I have a small shop on my web site and you order the products via a simple form. As an owner of the site, I want the order confirmations to be emailed to three email addresses, two adresses of mine plus one email to the person whoplaced the order. I don´t know how to fix this in the code though and that is my problem.
I can easily arrange for two of the addresses to get emails via the objMail.To command, so it´s when I try to add the buyers email that it gets weird.
That email address, I´m getting through the form and the name tag "Emailaddress".
I tried to use the commands objMail.Cc and objMail.Bcc, but nothing happend and then I still only got emails sent to the addresses that I put in at the line objMail.To. Below is as far as I have gotten. If I put the three addresses like that and separate with a "&", I got all three email addresses right, but no space between them. So do you have any ideas on what character to use, to split these three addresses so that an email can be sent to all of them? Code:
View Replies
View Related