473,404 Members | 2,213 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,404 software developers and data experts.

broad-based question

I need to create a methodology that sends out emails at certain times
automatically (ex. 7 days after a record is created in a database
table, and every 7 days thereafter...)

I am using an ASP.NET front with SQL Server 2000 as the data store.

My first thought was to use a third-party scheduling software program
that would fire a .NET utility, (I have used a similar methodoly before
with VB6) but I have been prohibited from using this.

What other options are there? I am not at all familiar with the parts
of SQL Server that may help me in this regard...

Thank you very much.

Jules

Nov 19 '05 #1
6 978
Jules,

SQL Server has a job scheduler. You might want to investigate whether it
suits you. What is the role of ASP.NET in the project? Setting up the
schedule over the web?

Eliyahu

<JJ****@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I need to create a methodology that sends out emails at certain times
automatically (ex. 7 days after a record is created in a database
table, and every 7 days thereafter...)

I am using an ASP.NET front with SQL Server 2000 as the data store.

My first thought was to use a third-party scheduling software program
that would fire a .NET utility, (I have used a similar methodoly before
with VB6) but I have been prohibited from using this.

What other options are there? I am not at all familiar with the parts
of SQL Server that may help me in this regard...

Thank you very much.

Jules

Nov 19 '05 #2
The "Normal" way for doing this would be to create a Windows service that'll
get record from SQL and email the people.

With .NET this won't be very difficult.

<JJ****@hotmail.com>
???????:11**********************@g47g2000cwa.googl egroups.com...
I need to create a methodology that sends out emails at certain times
automatically (ex. 7 days after a record is created in a database
table, and every 7 days thereafter...)

I am using an ASP.NET front with SQL Server 2000 as the data store.

My first thought was to use a third-party scheduling software program
that would fire a .NET utility, (I have used a similar methodoly before
with VB6) but I have been prohibited from using this.

What other options are there? I am not at all familiar with the parts
of SQL Server that may help me in this regard...

Thank you very much.

Jules

Nov 19 '05 #3
You can always write a little console applicaiton that produces an
..exe file. You can schedule the .exe with Windows task scheduler to
run every day (see Scheduled Tasks in the control panel). The exe can
query the database to see what emails need to be sent.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 2 Nov 2005 18:53:50 -0800, "JJ****@hotmail.com"
<JJ****@hotmail.com> wrote:
I need to create a methodology that sends out emails at certain times
automatically (ex. 7 days after a record is created in a database
table, and every 7 days thereafter...)

I am using an ASP.NET front with SQL Server 2000 as the data store.

My first thought was to use a third-party scheduling software program
that would fire a .NET utility, (I have used a similar methodoly before
with VB6) but I have been prohibited from using this.

What other options are there? I am not at all familiar with the parts
of SQL Server that may help me in this regard...

Thank you very much.

Jules


Nov 19 '05 #4
Thank you. The role of ASP.NET in my project is to collect user
information over the web and update a database (SQL). As to the
schedule I will run stored procedures that find records that meet the
criteria for sending an email to the user (as in my example, 7 days
after they submitted their information and every 7 days after that...)
Thanks again!

Nov 19 '05 #5
Thank you. The role of ASP.NET in my project is to collect user
information over the web and update a database (SQL). As to the
schedule I will run stored procedures that find records that meet the
criteria for sending an email to the user (as in my example, 7 days
after they submitted their information and every 7 days after that...)
Thanks again!

Nov 19 '05 #6
Thank you all for your answers as to how in general to go about this. I
am very appreciative.
J.

Nov 19 '05 #7

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

Similar topics

4
by: Naresh Agarwal | last post by:
Hi What are the different kinds of JVMs exist and in what respect do they differ. What is the difference between client, server, classic and hotspot jvms? thanks, Naresh
467
by: mike420 | last post by:
THE GOOD: 1. pickle 2. simplicity and uniformity 3. big library (bigger would be even better) THE BAD:
29
by: steve | last post by:
Hi, Recently I have been looking at the various ways people are implementing, interaction between java & oracle databases. I was always instructed on the purity of the data model, "normalize...
3
by: Lloyd Dupont | last post by:
I'm trying to write a simple disconnected "client-server" application. where new application just broadcast the network to try to find peers apparently I have to use UDP, but I didn't manage to...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 404 open ( +2) / 3376 closed (+16) / 3780 total (+18) Bugs : 860 open ( -1) / 6131 closed (+17) / 6991 total (+16) RFE : 229 open...
10
by: almulsi | last post by:
hi i just start studying programing and i actually i have problem with my code i would be happy if you help me out in this i need to display the seat pattern in air plane like this 1 ABCD...
1
by: Vivienne | last post by:
Hi there This is a hard problem that I have - I have only been using sql for a couple of weeks and have gone past my ability level quickly! The real tables are complex but I will post a simple...
1
by: Andrew Poulos | last post by:
I'm doing some work with various different Learning Management Systems (LMS) and they each expose an object called "API". The problem is I can't know beforehand how the user may decide to configure...
0
by: corey | last post by:
Secure Bytes audit and vulnerability assessment software Secure Auditor named “Versatile tool” and earn “Five Star Ratings” in SC Magazine Group Test Secure Bytes is really pleased to share this...
1
by: sanju4kk | last post by:
i create an application using Vb as front end and access as back end and while am clicking on login button on login window it shows an error like "10013 the requested address is a broad cast address...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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,...
0
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...
0
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,...
0
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...

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.