How Can I Use SMTP And ASP To Send Mail To Several Recipients On A Single Occasion?
I use CDOsys and this code to specify the recipient. I guess I could create two separate instances of the objMail and specify everything one more time, but I want to send mails to two persons at once (the recipient and myself) and therefore wonder if there is a shorter way to do it.
View Replies
ADVERTISEMENT
how can i send the mail (CDONT) to multiple recepients in ASP
if i select the address from the address box ,then all the selected mail id will go to TO text box with ' seperator.
View Replies
View Related
I have few textboxes on my first page that ask for user's e mail address and other five additional e mail address after submiting that form it sends a copy to all the people use e mail address is entered.
I can send e mail to only one person if i put following code
objCDOMail.Cc = "viral007@gmail.com
or
objCDOMail.Cc = Emailtxtfield
but how can i send e mail to all the people on the list
it works if i put this
objCDOMail.Cc = "viral007@gmail.com; viralbhatt@hotmail.com"
but i have to get the value from txtbox
so if i put this code
objCDOMail.Cc = Emailtxtfield; Emailtxtfield2
it doesn't work.
View Replies
View Related
I'm using cdo to send auto-generated emails. I'm calling a stored procedure that returns a recordset.
In most instances, the recordset will only return one record containing one email as the value. However, there are instances, where two records can be returned with two seperate email addresses that I need to send out using cdo. This is how I'm calling the procedure:
Code:
View Replies
View Related
I am using CDONTS to send a confirmation email. I am using plain text to send my email. I would like to send to multiple users, but I am already using the "To," "Cc," and "Bcc." Is it possible to send to multiple recipients in the "To" field? I am also using variables instead of hard coded email addresses. Here is my code:
Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
MyCDONTSMail.From= TeacherEmail
MyCDONTSMail.To= Administrator, Administrator2, Administrator3
MyCDONTSMail.Cc= Secretary
MyCDONTSMail.Bcc= TeacherEmail
View Replies
View Related
ASPEmail to send to multiple recipients? I tried to use comma and semicolon but all the time give this message error:
Error: 6 - 501 Bad address syntax
nor : email@dom,email@dom,email@dom
or: email@dom;email@dom;email@dom
what is the sintaxe for it? can I only send for one recipient by time?
View Replies
View Related
I'm a PHP programmer who for some reason was tasked with fixing some code on an asp page. I have what I feel should work, but I am getting this error:
CDO.Message.1 error '8004020c'
At least one recipient is required, but none were found.
/admin/mass_email_monthly.asp, line 47
Line 47 being this line: objMessage.Send
Now I want to have multiple recipients pulled from the database as illustrated in the code, but it isn't working. I have no idea why, and I have no idea what that error message means? Can anyone point me in the proper direction of a tutorial that can help? OR possibly show me where my syntax is wrong?
View Replies
View Related
I have a website and I need visitorst to be able to send emails to me from it by filling out a form (not mailto:).
I have Win2k3 server enterprise running with IIS and POP3 all setup. My provider blocks port 80 so i redirect using no-ip.com to another port. I tryed CDOSYS and other free third party mailers (currently I have Persits Software free ASPemail installed), but I can't get anything to work. I know by now that I need to set something up (maybe some redirect) on my server so this works.
Please, if anyone knows how to do it, tell me how. In particular, to send an email from my site to at least my local server, and at best to lets say hotmail.com.
View Replies
View Related
I'm having problems getting CDO.Message to work with SMTP on my Windows 2000
Server. I keep getting the following error:
CDO.Message.1 error '80040213'
The transport failed to connect to the server.
/services/E-CommerceQuote_new.asp, line 2357
I am assuming that it is meaning it can't find the server i have specified
where the SMTP server is, which is the same PC. I have specified by IP and
domain name but i get same error. i know i haven't said much about the setup
im using so if needed i can provided more details.
Does anyone know how to fix this problem?
View Replies
View Related
I need some help: with cdosys i'm able to send e-mail from asp using the local exchange
server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?
I'm using:....
View Replies
View Related
i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:
View Replies
View Related
I run a small website for a membership organization - and I have created an
ASP front end for an access database that allows the board members to manage
their membership roster (names, addresses, membership dues paid, etc)...
Part of the site is an ASP SMTP script that allows members to send emails to
all the people listed in the access database. It's a simple script that
just loops through the database and sends an individual email to everyone in
the database. There are a few drawbacks to this method...
The email gets sent from my server, but the return address listed in the
email is from the individual user that sends it. As a result, a percentacge
of recipients don't get the message, because their mail server does a
reverse check and finds that there is no matching account on the originating
server. It would be impossible for me to give all the users mail accounts
on my server - and it would be a redundant nightmare to manage it.
So, my question is: Is there a solution, like a listserv, which can be
integrated with an existing database of users? Obviously, I don't want to
keep a seperate listserv - the whole idea of the membership database is to
only have one database to update. ie: when a users email changes, I don't
want to update it in two places. Also, it would be nice to be able to
automatically identify obsolete addresses (bounces) and flag the records in
the database. And finally, I'd like to have a solution that solves the
reverse-lookup problem.
View Replies
View Related
I tried to cend mails with CDONTS.NewMail and the local smtp service of the iis. It works. BUT I tried to send a mail to a invalid address. I got an email (like I configured at the smtp) but the badmail directory is allready empty! I nned the entries for a bounce-management!
View Replies
View Related
I was able to send email via the server in both .NET and ASP (using CDO for ASP). However I had to configure a SMTP server for this to work, which means the email will be sent via the server's SMTP service. so this could mean a lot of overload on the server. So as to reduce the work on the server, is there another way to send email to people?
View Replies
View Related
I am having problems trying to send emails using IIS 5.1 and ASP on a XP Pro box
I think that it is a configuration problem in my SMTP setup
I can send emails using Telnet but when I send via ASP they all end up in the Queue folder
ASP is not generating any error messages
Have tried code using CDO and CDONTS but I do not think it is a code issue
Sometimes I get a system event error saying that cannot do a DNS lookup on my send address
Any suggestions please
Properties for SMTP on my system:
General IP address : all unassigned
Access Relay: {my computer IP address}
Delivery Advanced Smart Host: mail.bigpond.com
Delivery Advanced Fully qualified domain name: {my computer name}
View Replies
View Related
I'm using CDO to send mail to the site owner from ASP pages with forms.
Recently one of my forms is occasionally sending email with what seems
to be an insertion which is replacing the plain text part of the email
with something else. Looking at the server sent email source, the
hacked emails have the following:
View Replies
View Related
I've been using CDOSYS Mail and this bit of code fine for a year. Well, we wanted to change the method of sending email from the Webserver sending it, to designating a specific SMPT server.
So, I found this code on MSFT's web site (MSFT CDOSYS SMTP ) that will allow me to do this, and it works, except that the redirect command that I have at the end of the file no longer works. I have no idea why.
Thi is the error I get:
error '8004020f'
/asp/send_email_foundation_conf.asp, line 78
Code: ...........
View Replies
View Related
I'm using CDO object to send email but it doesn't send any email and it does
not give an error.
My code look like this: .....
View Replies
View Related
It seem that I did not configure the SMTP service on a Windows 2000 server correctly because all the email is been sent to InetpubmailrootQueue directory. Do I need to install Outlook for the email to send the mail to the recipient?
View Replies
View Related
My question is do ASP need to declare smtp server when send email using CDonts function?
View Replies
View Related
I am running Win XP and have installed the IIS SMTP service, however I'm not sure what I need to do to configure both the SMTP service and CDOSYS properly to allow me to send out email from an ASP script.
THE PROBLEM:
What is happening is the email is not sent and goes to the 'c:InetpubmailrootQueue' folder. I have checked the event viewer and the error I receive is:
Message delivery to the remote domain 'yahoo.com' failed for the following reason: The remote server did not respond to a connection attempt.
I believe the SMTP service isn't setup correctly or I haven't configured CDOSYS properly in my ASP script.
The CDOSYS part of my ASP script is setup as follows (I am using Javascript with ASP btw):
Code: .....
View Replies
View Related
I have a CDONTS script which has been sending mail from a client's website form to their address. However, the script has suddenly stopped working after three years of working fine. It doesn't error, they just don't receive the mail any more. I've tried CCing myself in the script and can confirm the mail is not getting through. The script itself is tried and tested and syntaxially correct, and it is hosted on a windows 2000 server which has not been changed or reconfigured at all recently.
I think the problem is because they're using their own exchange server, not the web hosts' mail server. Therefore I would expect that mail sent from the web script wouldn't go through because there is no local mail server to process it.
The problem is that the script hasn't changed, the host say their system hasn't changed, and the client's IT team say their exchange settings haven't changed!?!
I could set up a CDOSYS script to use their Exchange server to deal with the email, but their IT support won't allow relaying, so I don't think this is possible.
Is connecting to their Exchange box the only option, or should the website host still be able to process the web-script-generated mail despite not being their mail provider? I'm getting a lot of grief here, but it can't be the script that has suddenly broken because nobody has touched it!
View Replies
View Related
I want to send e-mails from my asp pages but don't know how to achieve that. I have tried to create CDO/CDONTS server objects but without luck. I guess I don't have SMTP installed or not configured appropriately.
Can you help me here? What do I need to do (and if complicated how is it done) to get an SMTP server up an running?
View Replies
View Related
Since I want to be able to send a confirmation e-mail (containing user name/pwd etc.) to every visitor that enters some info in a form on my web page I wonder how that is done.
I have heard about SMTP and CDO but don't know the differences or which one is applicable in my case
I'm running xp-pro and use my computer as a web server but don't know if I have SMTP installed (or how to use it if it actually is there).
View Replies
View Related
I have the code for the sending mail but i do not know to loop it. I have been given specification saying that i should send mail after registration and deregistration.
so i have a asp page given the action function of the register form so the page updates the registration done. so i given after registration the send mail code and want to have the loop or condition for the mail to be sent to the person who updates registeration
and code is as follows....
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY> .....
View Replies
View Related
I'm 99.9999999999999999999% sure there haven't been any code changes, since the date stamps of the code are older than any email 'failures'
The email piece quit working using the mail.send. If there haven't been any changes made to previously working code, where do I look for the problem now? I restarted the SMTPservice in IIS. Our real email is hosted remotely, I checked with the admin and she said no changes were made, i.e., not blocking port 25 traffic from the gateway.
I guess this isn't ASP specific, but any ideas how to troubleshoot this?
View Replies
View Related
I am sending mail from ASP program. My server is win 2k, IIS 5. SMTP
server is configured.
I am generating a report(purchase order) and the same sending as an email to
the supplier. upto last week it was sending well. Now its returning bounce
mail.
in the c:inetpubmailrootadmail contains the file(.bdr). The contents of
the file are ....
View Replies
View Related
I would like to know how can i nodify some users which are into my databese with an e-mail? How can i sent to them an "automate" e-mail using VB script.
View Replies
View Related
I tried the code given in this site,
<%
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To="rashwathama@yahoo.com"
Mail.From="rashwathama@yahoo.com"
Mail.Subject="Just testing my script"
Mail.Body="Hey! I am sending this email through an ASP Page and guess what? I
havent learnt much yet, but know that ASP is very powerful."
Mail.Send
Set Mail=nothing
response.write "DONE"
%>
But it did not work
I use Windows 2000 Server and Internet Information Service (IIS).....
View Replies
View Related
Where can i found the source code that allow me to key in myself email address and message and then key in friend's email address, after that my email address will be send out to my fren with my site URL and message that i typed?hope its asp file extension.
View Replies
View Related
<i><b>Originally posted by : Serno (serno@worldonline.dk)</b></i><br />Iīm using IIS 5 on Windows XP. When trying to send a mail using 'CDONTS.NewMail', I get this error message : <br />ActiveX component can't create<br />object: 'CDONTS.NewMail'<br /><br />Please help!!<br />
View Replies
View Related
I'm using the following script for send emails.Recently, we migrated our server. Everything is working fine. Except the mailing.
<CODE>
set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost=Application("Remote_Host")
Mailer.FromAddress = strFrom
Mailer.AddRecipient "", strTo
Mailer.Subject = strSubject
Mailer.BodyText = strBody & vbCrLf & Application("EMAILNOTE")
Mailer.SendMail
</CODE>
I got the following error
ASP_0177_:_800401f3|Server.CreateObject_Failed
IIS versions are same.
View Replies
View Related
i m creating city checkboxes from database table...so using this client can subscribe for various cites...after submit i m adding all his/her datails into subscription table ...i m adding all selected city into one colums branch_city...and after this i m sending email to corresponding subscription department of selected city....and only one email to client with the all city name he has been subscribed... Code:
View Replies
View Related