473,378 Members | 1,623 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

batch job for mailing out hundreds of mails....

Hi, I like to ask what can be an ideal solution for this type of situation?
We need to schedule a job every night that will basically extract data from
the DB and mail that out to our clients. I am thinking of creating DTS
package and using VBscript to instantiate SMTP object or creating a
standardalone EXE that will basically do the same thing. I was wondering
if there are any other better way to do this like using webservices or other
technology that I can take advantage of. Thanks for you help.


Nov 13 '05 #1
1 1757
Cheong,

You can look into the task scheduling API to see how you can register
your program/component to have tasks run on it after a pre-determined amount
of time. DTS and Web Services wouldn't really help here. When your
component is involed through the task scheduling API, you would just query
the database, and perform the emailing as you need to.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Cheong Sin" <si****@myway.com> wrote in message
news:eC**************@TK2MSFTNGP11.phx.gbl...
Hi, I like to ask what can be an ideal solution for this type of situation? We need to schedule a job every night that will basically extract data from the DB and mail that out to our clients. I am thinking of creating DTS
package and using VBscript to instantiate SMTP object or creating a
standardalone EXE that will basically do the same thing. I was wondering
if there are any other better way to do this like using webservices or other technology that I can take advantage of. Thanks for you help.

Nov 13 '05 #2

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

Similar topics

3
by: vardhansasi | last post by:
hai...can someone plzz help me in writing a class to send Mails with HTML content. Try to suggest some working Class library if there is any on the web so that i may not re-invent the wheel....
13
by: MLH | last post by:
I have a batch file named GetConf.bat. It contains a line like this: ipconfig /all >c:\MyAppDir\IPdata.txt I believe I could run the line with something like ShellWait by Terry Kreft. Any...
1
by: johnny | last post by:
hi all, I would like to understand which are the best ways to send bulk mailings like for newsletters and so on ( not spamming, always to receivers who opt-in ). I am not looking for code for...
8
by: Roger Dodger | last post by:
I have to send out 2500 e-mails to student survey recipients. The e-mails will appear to come from the specific departments that they belong to. I'm utilizing PHPmailer in the scripts I wrote to...
2
by: MJ | last post by:
I use the following code to send mails using php usinf PEAR package. When I run this code from command line using the command "php automaticMail.php" the code works fine. But when i run this...
2
by: Geoff Berrow | last post by:
I recently sent out a mail shot to a number of members of a loyalty club. The trouble was that the script would sent a certain number of mails and then hang. It took me several tries to send all...
4
by: charlie weaver | last post by:
I work for a large insurance company, and Im looking for a way to send emails with variable data to about 5,000 agents out in the field. (Not spam, I promise.) Id like to use Access to pull info...
5
by: Josh | last post by:
I'm curious about the limits of my current method of sending out e- mail w/ php and possibly alternatives. Right now, I have a mysql DB of registered users. I have a PHP file accessed daily that...
0
by: Hank | last post by:
Dear Python Staff, I am writing this letter to unsubscribe this mail-address from python mail-list. One problem is that this python community is so active that I always lost myself to find my...
0
by: Patrick Stinson | last post by:
you can unsubscribe yourself at the list info page (the same page you subscribed from) On Thu, Jun 5, 2008 at 10:22 AM, Hank @ITGroup <hank.infotec@gmail.comwrote:
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.