473,722 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending Many emails at once

I have an exchange server, that I sometimes use to perform mail shots to
clients on our database, these can be upwards of 1000 at a time.
As we don't want different clients to see who we are working with we put
these mailshots in the bcc field of the mails.

This can sometimes cause a problem as we are getting alot of mails bounced
back. I would like to write a script to have these emails sent
out individually using the to: field of the mail. I have googled for
examples of doing this but haven't found anything useful yet

Could somebody please point me in the right direction

Thanks

Stuart

p.s. I am not sending out Spam, I am sending mail to clients on our database
that have specifically said they want to receive mail from us!
--
Quidquid latine dictum sit, altum viditur.

(Whatever is said in Latin sounds profound.)
Jul 19 '05 #1
10 4982
It's the exact same code to send the mail...just use the .TO property. Or
are you saying you dont know how to do the DB lookup loop?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:uH******** *****@TK2MSFTNG P12.phx.gbl...
I have an exchange server, that I sometimes use to perform mail shots to
clients on our database, these can be upwards of 1000 at a time.
As we don't want different clients to see who we are working with we put
these mailshots in the bcc field of the mails.

This can sometimes cause a problem as we are getting alot of mails bounced
back. I would like to write a script to have these emails sent
out individually using the to: field of the mail. I have googled for
examples of doing this but haven't found anything useful yet

Could somebody please point me in the right direction

Thanks

Stuart

p.s. I am not sending out Spam, I am sending mail to clients on our database that have specifically said they want to receive mail from us!
--
Quidquid latine dictum sit, altum viditur.

(Whatever is said in Latin sounds profound.)

Jul 19 '05 #2
Curt_C [MVP] put finger to keyboard and typed:
It's the exact same code to send the mail...just use the .TO
property. Or are you saying you dont know how to do the DB lookup
loop?
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:uH******** *****@TK2MSFTNG P12.phx.gbl...
I have an exchange server, that I sometimes use to perform mail
shots to clients on our database, these can be upwards of 1000 at a
time.
As we don't want different clients to see who we are working with we
put these mailshots in the bcc field of the mails.

This can sometimes cause a problem as we are getting alot of mails
bounced back. I would like to write a script to have these emails
sent
out individually using the to: field of the mail. I have googled for
examples of doing this but haven't found anything useful yet

Could somebody please point me in the right direction

Thanks

Stuart

p.s. I am not sending out Spam, I am sending mail to clients on our
database that have specifically said they want to receive mail from
us!
--
Quidquid latine dictum sit, altum viditur.

(Whatever is said in Latin sounds profound.)


I don't know where to start, basicaly!
Will I need an app like aspemail to do the sending of the mail or can I use
something built into IIS?

would aspemail be able to handle sending out so many emails, would IIS be
able to handle sending out so many emails?

I could figure out the DB lookup loop, if I just knew what to use =(

Stuart
Jul 19 '05 #3
Seems like ur working with a distribution list not a DB?
anyhows,

you can use the CDONTS or CDOSYS objects, depending on which platform ur
running on...
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:uC******** ******@TK2MSFTN GP10.phx.gbl...
Curt_C [MVP] put finger to keyboard and typed:
It's the exact same code to send the mail...just use the .TO
property. Or are you saying you dont know how to do the DB lookup
loop?
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:uH******** *****@TK2MSFTNG P12.phx.gbl...
I have an exchange server, that I sometimes use to perform mail
shots to clients on our database, these can be upwards of 1000 at a
time.
As we don't want different clients to see who we are working with we
put these mailshots in the bcc field of the mails.

This can sometimes cause a problem as we are getting alot of mails
bounced back. I would like to write a script to have these emails
sent
out individually using the to: field of the mail. I have googled for
examples of doing this but haven't found anything useful yet

Could somebody please point me in the right direction

Thanks

Stuart

p.s. I am not sending out Spam, I am sending mail to clients on our
database that have specifically said they want to receive mail from
us!
--
Quidquid latine dictum sit, altum viditur.

(Whatever is said in Latin sounds profound.)

I don't know where to start, basicaly!
Will I need an app like aspemail to do the sending of the mail or can I

use something built into IIS?

would aspemail be able to handle sending out so many emails, would IIS be
able to handle sending out so many emails?

I could figure out the DB lookup loop, if I just knew what to use =(

Stuart

Jul 19 '05 #4
Dominique put finger to keyboard and typed:
Seems like ur working with a distribution list not a DB?
anyhows,

you can use the CDONTS or CDOSYS objects, depending on which platform
ur running on...

I have a windows NT box that has my exchange 5.5 mail server on.
I have a windows 2000 box with IIS on, that hosts an intranet site.

Am I wrong in the belief that aspemail is an alternative to CDONTS?

Stuart
Jul 19 '05 #5
It's a third party solution/component and depending on what you need, not
necessary. You will need access to an SMTP server. Here is a simple example
of CDO
http://www.darkfalz.com/1090

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:ul******** *****@TK2MSFTNG P12.phx.gbl...
Dominique put finger to keyboard and typed:
Seems like ur working with a distribution list not a DB?
anyhows,

you can use the CDONTS or CDOSYS objects, depending on which platform
ur running on...

I have a windows NT box that has my exchange 5.5 mail server on.
I have a windows 2000 box with IIS on, that hosts an intranet site.

Am I wrong in the belief that aspemail is an alternative to CDONTS?

Stuart

Jul 19 '05 #6
Curt_C [MVP] put finger to keyboard and typed:
It's a third party solution/component and depending on what you need,
not necessary. You will need access to an SMTP server. Here is a
simple example of CDO
http://www.darkfalz.com/1090
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:ul******** *****@TK2MSFTNG P12.phx.gbl...
Dominique put finger to keyboard and typed:
Seems like ur working with a distribution list not a DB?
anyhows,

you can use the CDONTS or CDOSYS objects, depending on which
platform ur running on...

I have a windows NT box that has my exchange 5.5 mail server on.
I have a windows 2000 box with IIS on, that hosts an intranet site.

Am I wrong in the belief that aspemail is an alternative to CDONTS?

Stuart


So I could use CDONTS, I wouldn't need to use my exchange server.
I would just loop through all of the addresses in my list changing the
iMsg.To line

I can have html mail, which I need for the mailshots.

Would it cause a lot of congestion on my server, how quickly could CDONTS
process hte emails?
Does CDONTS use the default smtp server that comes with IIS?
Is CDONTS installed by default?

Stu
Jul 19 '05 #7
Use CDO if your server supports it, CDONTS is old and going away.
CDO/CDONTS is installed with IIS.
CDONTS only uses the webserver's SMTP, CDO allows you to point to any SMTP.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:OJ******** ******@TK2MSFTN GP12.phx.gbl...
Curt_C [MVP] put finger to keyboard and typed:
It's a third party solution/component and depending on what you need,
not necessary. You will need access to an SMTP server. Here is a
simple example of CDO
http://www.darkfalz.com/1090
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:ul******** *****@TK2MSFTNG P12.phx.gbl...
Dominique put finger to keyboard and typed:
Seems like ur working with a distribution list not a DB?
anyhows,

you can use the CDONTS or CDOSYS objects, depending on which
platform ur running on...
I have a windows NT box that has my exchange 5.5 mail server on.
I have a windows 2000 box with IIS on, that hosts an intranet site.

Am I wrong in the belief that aspemail is an alternative to CDONTS?

Stuart


So I could use CDONTS, I wouldn't need to use my exchange server.
I would just loop through all of the addresses in my list changing the
iMsg.To line

I can have html mail, which I need for the mailshots.

Would it cause a lot of congestion on my server, how quickly could CDONTS
process hte emails?
Does CDONTS use the default smtp server that comes with IIS?
Is CDONTS installed by default?

Stu

Jul 19 '05 #8
On Tue, 11 May 2004 17:00:01 +0100, "Stuart Mueller"
<I.*********@em ail.address> wrote:
Curt_C [MVP] put finger to keyboard and typed:
It's a third party solution/component and depending on what you need,
not necessary. You will need access to an SMTP server. Here is a
simple example of CDO
http://www.darkfalz.com/1090
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:ul******** *****@TK2MSFTNG P12.phx.gbl...
Dominique put finger to keyboard and typed:
Seems like ur working with a distribution list not a DB?
anyhows,

you can use the CDONTS or CDOSYS objects, depending on which
platform ur running on...
I have a windows NT box that has my exchange 5.5 mail server on.
I have a windows 2000 box with IIS on, that hosts an intranet site.

Am I wrong in the belief that aspemail is an alternative to CDONTS?

Stuart

So I could use CDONTS, I wouldn't need to use my exchange server.
I would just loop through all of the addresses in my list changing the
iMsg.To line

I can have html mail, which I need for the mailshots.

Would it cause a lot of congestion on my server, how quickly could CDONTS
process hte emails?


Rather slowly compared to an Exchange distribution list (stop putting
email addreses in BCC fields, that's a typical SPAM trick and often
blocked.)
Does CDONTS use the default smtp server that comes with IIS?
Yes, if you choose to.
Is CDONTS installed by default?


It's not an installed/not installed item. It's a programming library,
part of the operating system setup (uses CDONTS.DLL). And you can use
it with your Exchange server if you wish.

Jeff
Jul 19 '05 #9
If you have a budget ($75.00 US for the Pro Version) check out JMail at
www.dimac.net
The pro version has a nifty Mail Merge that works great..

http://www.dimac.net/Products/w3JMai.../MailMerge.htm
"Stuart Mueller" <I.*********@em ail.address> wrote in message
news:uH******** *****@TK2MSFTNG P12.phx.gbl...
I have an exchange server, that I sometimes use to perform mail shots to
clients on our database, these can be upwards of 1000 at a time.
As we don't want different clients to see who we are working with we put
these mailshots in the bcc field of the mails.

This can sometimes cause a problem as we are getting alot of mails bounced
back. I would like to write a script to have these emails sent
out individually using the to: field of the mail. I have googled for
examples of doing this but haven't found anything useful yet

Could somebody please point me in the right direction

Thanks

Stuart

p.s. I am not sending out Spam, I am sending mail to clients on our database that have specifically said they want to receive mail from us!
--
Quidquid latine dictum sit, altum viditur.

(Whatever is said in Latin sounds profound.)

Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9239
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends - I see hebrew, it is just sending by myself using *.aspx scripts). In web.config I have the following : <configuration> <system.web>
3
1978
by: Steve Thurston | last post by:
Hi, I'm attempting to send emails for the first time using ASP.NET, so I'm hoping there's just a beginner's error going on here for me. But my emails aren't reaching their destination, and I don't know why. My "development" machine is just my home machine. I'm connected to the Internet via an AOL dialup connection. I am running on XP Pro and my IIS server is (apparently) configured
8
1973
by: Philippe Lang | last post by:
Hello, I need to send emails from Postgresql triggers. I was able to do it with a 'plperlu' function, that calls the 'system' perl function, that itself calls the 'mail' shell function. Is is safe to do things like this? Is there a possible concurrent access that could arise?
8
1763
by: windandwaves | last post by:
Hi Folk I want to send out a basic newsletter from my MySql database of contacts. Does anyone know a nice and simple bit of PHP that allows me to do this? TIA - Nicolas
5
23802
by: Kun | last post by:
i have the following code: ---------------------------------- import smtplib from email.MIMEText import MIMEText fp = open('confirmation.txt', 'rb') msg = MIMEText(fp.read()) From = 'xxxx@xxxx.xxxx.edu'
5
2446
by: Jai | last post by:
Hi, I am in a problem of sending mass emails(newsletter) to my website members. Actually my problem is this: I want to send newsletter to my website members. But I had given a facility for each member to choose different category of products or all products newsletter.
4
1655
by: squishy | last post by:
I want to check an emailbox (that does not offer forwarding functions) and forward the mail in it to my new account. That's not a problem. But, I want the mails that I forward to my new email account to look and act like they came from the original sender (i.e. when I click reply, I want the original senders address in my Outlook's "To" field). How do I send these messages as though they came from the original sender?
10
16565
by: Jesse Burns aka jburns131 | last post by:
Here's my code: $today = getdate(); $to = someone@somewhere.com; $subject = "New Application: ".$userdata." - ".$today."/".$today."/".$today; $message_header = "New Application: ".$userdata;
0
1024
by: sheel331 | last post by:
Hello, I am new to coding in vb.net and have run into an issue with some code that I am looking over. This is a webform that is filled out and once it is filled out, it takes the responses from the form and appends it to an email which it then sends out to one specific user (for testing purposes, it's sending to me). My problem is that the code somehow is sending two identical emails to me. I am almost certain that the code looks ok,...
0
8860
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8739
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9087
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5995
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2601
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.