473,799 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1762
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************* *@exisconsultin g.com

"Cheong Sin" <si****@myway.c om> wrote in message
news:eC******** ******@TK2MSFTN GP11.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
1333
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. thanx...
13
5443
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 reason I should run the procedure via a batch file call as opposed to launching the command string directly?
1
3113
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 now , I have found some very interesting classes and I also have my own scripts, I just want to know all the options available and why one is better of another .
8
13764
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 accomplish this. I've written several pages to edit emails utilizing placeholders so each individual email can be personalized for the recipient, and selection page to choose recipients from the database. The code I've written works just fine...
2
2273
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 script from browser it give the error : Starting..... Error sending mail: (unable to connect to smtp server 10.110.8.212:25) End of Program I am not figure out how this could happen ??? Sam code runs from command line sending mails correctly but...
2
1244
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 the mails. Can anyone recommend a method of extracting email addresses from a database and then sending a customised mail to each. The client needs to be able to compose an email, select a number of parameters (which will determine to whom the...
4
2580
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 from various excel lists, and then send the results via email to our various agents. I found some vb code online shown below, but Im a complete novice. Im trying to find a way to change the code so it sends from an excel email list. Will modifing...
5
1813
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 runs through the DB and sends e-mails (SMTP mailer) w/ personalized messages (also from the DB) to the users. Right now I've only got a few e-mails it needs to send per day so it only takes a second or two for the file to load/run, but this may...
0
860
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 business emails. So, I want to quit this mail-address from you, and want to set up a specific mail-box to receive all python mails. Since could find a way to unsubscribe the mails, I need to write this letter to you. Please help. BTW, python is...
0
823
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:
0
9687
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
9541
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
10484
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10251
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10228
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
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
6805
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
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.