I am trying to send an email from some server side ASP code and the CC field
is giving me some problems.
The code works fine if I have one or 2 email addresses in the field (The
addresses are valid.) However if I have 4 it breaks. Now the good
part......If I copy the 4 addresses (that were causing the problem) into the
field a few times, so basically I have 16 addresses the code works!!
I don't get an error back from the code when it breaks and I don't see any
emails in the Bad Email, Pickup or Queue folders, the email just doesn't
sent at all.
Also if I put the 4 addresses into the BCC field it works fine. It only
breaks on the CC field....
How can i list out all the email address into my website from the hotmail caontact list? i am successful log in into the yahoo contact list by using serverxmlhttp and list out all the email address from the page source, but i could not access to hotmail by using the serverxmlhttp. Is any other methos can list out the email address from hotmail contact list?
When I try to email a private message to someone who responded to my posting it tells me that i don't have priviledge. I am registered but don't understand why I cannot email a private message to anyone.
i've a problem sending an email with IIS 5.1 (win xp pro). I was used to use deprecated CreateObject("CDONTS.NewMail") but i got an error. So i tried with Server.CreateObject("CDO.Message") and i got no errors, but i didn't receive any mail. I found some mail created in mailroot's subfolders. How can i solve?
Set cdoMessage = Server.CreateObject("CDO.Message") Set cdoMessage.Configuration = cdoConfig cdoMessage.From = "admin@nyc-discusfanatics.com" cdoMessage.To = strEmail cdoMessage.Subject = "NYC-Discusfanatics.com User Registration" cdoMessage.HTMLBody = "<html>" &_ "<body>" &_ "Hello "&strUName&"<br/><br/>" &_ "Thank you for registrating with NYC-DiscusFanatics.com Please activate your account by clicking the link below.<br/><br/>" &_ "<a href='http://www.nyc-discusfanatics.com/face/dragonball/AccountActivate.asp?UserID="&strID&"'>Activate my account.</a>" &_ "<br/><br/>Thanks for your registration." &_ "<br/><br/><br/>Vincent" &_ "<br/><br/>Administrator of NYC-Discusfanatics.com" &_ "</body>" &_ "</html>" cdoMessage.Send Set cdoMessage = Nothing Set cdoConfig = Nothing
I got return email that the mail fail to deliever to AOL user. I assuming AOL email doesn't accept ASP script embedded in the email?
I did not realize that objMessage.From needs to be filled in, and that there is no vlaidation. Suppose that's how spammers work their magic.
Is there a way to determine the user's email account so I can fill in objMessage.From ? I am thinking No, that a server app can not strip something off a user's PC memory. Otherwise I will have to set objMessage.From to a generic term.
I have an asp page that I use to collect email addresses for an email notification list.
I'd like to be able to send the notifications to everyone on the list without everyone's email address showing in the "TO:" list. Is there a simple code snippet I can use to send automatically as a BCC instead?
Im working on an automated email sending script which work real fine. I have to send 2 different list of email ( contact1 and contact2) of an acces database file (.mdb).
The fact is that my script work well but for some reason it only send the second list of email (contact2).
The script process the list contact1 without any error but obviously it isnt sending mail to those email.
It seems to be an easy fix mistake but i cant figure out why the first contact list isnt sending. Must be a "If then" mistake or something with the loop i think.
I would like to send the same email to every email address that I have in a table.Only complication is that some records have an email address and some don't (some people dont have email addresses.
I had a go and made an array and used the len(email)>0 idea, so that if no email address, skip sending and email. Guess just after some standard code, nothing fancy. The site is on a commercial server running win 2000 .
I am using asp to submit a form I've created in asp. I was wondering if there was a way to output the vlaues of three listbox menus.
1. User selects hour 2. user selects minute 3. user selects am/pm
This is now outputting into my strBody as seperate entries. I'd like to combine them into one entry within the strBody.
Please reference strStartTime, I've tried to incorporate this into the email strBody, but am unable to accomplish this. Any help would be appreciated. Thanks Everyone!!!
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.
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?")
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'm using CDO.Message to send emails and i'm using the .CreateMHTMLBody to send an html page, the only problem that i have is that when you view the email, you notice all the images that are in that page as attachments !!!! the email loads fine, but is there a way not to show the images in the attachments line
I have a asp page that sends a excel price list to customers, this worked fine untill now, but now when i sent one to myself it arrives as a dat file. Does any one know why, and how to fix it, is it a problem with my emailk reader (Outlook) or is it some thing to do wih Exchange?
I am using CDO Message to send mail from ASP page. I find that all the mails sent goes to bulk folder or appear as spam message in both yahoo and gmail. How can i prevent that.
Is There a Message Box in Active Server Script like in Visual Basic? The four books I have show it the same as VB but I get a Message "Permission Denied" MsgBox "Message"
When I load this script it says, �No record found�. This message suppose to display when I put something in search box and there is no record that matches in database. Everything else works fine. How can I get read of �no record found� message when I load page Code:
I am using CDO.Message object with code below. When I execute the .Send command, I get the following error.
Error: -2147220973 Description: The transport failed to connect to the server.
Note: The SMTP Server and the IIS Server are the same machine.
Anyone come across this error message in the past? This error also occurs when I use Method #1 where I use the schema reference provided by Microsoft. Here is the code:
I've created a form that e-mails the response to a person. Problem is that I want to include their name in the From attribute. Unfortunatly, the .From doesn't like spaces between strings. Are there any suggestions how to fix this? Code:
I use CDO.Message to send mail. The problem is, CDO.Message will send to any malformed address, (eg. smtp:email.address@domain.com) and no errors are thrown.
I want to delete a record from sql DB in asp page.. When the word "delete" is click, there will be prompted by message box about want or not to delete the record.
If the message box is clicked "yes" then record will be deleted. If the message box is clicked "no" so the record will not be deleted.
I've tried to use vbscript, but it didn't work, because I don't know how to combine this vbscript with ASP which is should connect to DB too.
If anyone who read this, has a complete coding for solving my problem, n would like to share with me ...
Does anyone know if it's possible to send an email out in the Session_OnEnd script? I Know it's possible to create a connection object in Session_OnEnd but unsure if it will create a cdo.message object.