473,889 Members | 1,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating reminders for Employees Birthdays.

20 New Member
Hello every one,

I am working in Asp.Net 2005 web Application.I am storing my employees Details in the Database that includes there Birthday dates,Emailid.S o my task is automatically mail should be sent the particular employee whose birthday matches with the current server date.how can i implement this in VS2005 ???.
can anyone help me out.
Nov 30 '07 #1
4 1808
mzmishra
390 Recognized Expert Contributor
How far you have done on this task.Where exactly you are facing the problem.
Nov 30 '07 #2
HariKutty
20 New Member
How far you have done on this task.Where exactly you are facing the problem.

I have stored all the values in the database.

Two Options is there.

One when the application starts the system date is captured and checks with the database.If it s equal then alertbox would be sent ,if yes,the interface would be opened.This s where i stopped.

My Probs s Mail should be sent automatically when the birthday date matches with the current server date.bcos server will be on for all 365 days in big companies and it when application is on/off .how this stored procedure would be called in SQL Server 2005.And moreover message should be sent that mail is sent to ___ perosn at ___time when the application starts for the first time
Can this be possible .If Please how???
Nov 30 '07 #3
Frinavale
9,735 Recognized Expert Moderator Expert
I have stored all the values in the database.

Two Options is there.

One when the application starts the system date is captured and checks with the database.If it s equal then alertbox would be sent ,if yes,the interface would be opened.This s where i stopped.

My Probs s Mail should be sent automatically when the birthday date matches with the current server date.bcos server will be on for all 365 days in big companies and it when application is on/off .how this stored procedure would be called in SQL Server 2005.And moreover message should be sent that mail is sent to ___ perosn at ___time when the application starts for the first time
Can this be possible .If Please how???
Hi,

You shouldn't be using an ASP.NET application to do this.
ASP.NET applications are used to server information into Web Pages...they aren't meant for the purpose that you are trying to do.

Look into creating a windows service that does this instead. Have it run in a timer event and send the email at a specific time in the day (say midnight).

This windows service should run on a computer that does not turn off...in a place where it cannot easily be closed/turned off by users....so you're looking at running it on a server computer.

To get you started, check out these articles
-Frinny
Nov 30 '07 #4
HariKutty
20 New Member
Hi,

You shouldn't be using an ASP.NET application to do this.
ASP.NET applications are used to server information into Web Pages...they aren't meant for the purpose that you are trying to do.

Look into creating a windows service that does this instead. Have it run in a timer event and send the email at a specific time in the day (say midnight).

This windows service should run on a computer that does not turn off...in a place where it cannot easily be closed/turned off by users....so you're looking at running it on a server computer.

To get you started, check out these articles
-Frinny

Thanks.Can you give me an idea of how to create a webservice and how to implement it in code behind.In need !!!
Dec 1 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2452
by: Stijn Goris | last post by:
hi all, I have this problem that I cant solve. I have created an agenda (http://28edegem.scoutnet.be/agenda.php) . The agenda contains events and birthdays of the members. I query the events and birthdays per month and sort them on date. This method works fine for the events since they are all for the same year (eg 2003) but doesnt work for the birthdays because someone born in 1980-06-23 will be sorted before someone born in...
3
1570
by: Yair Cohen | last post by:
HI all, any1 know an idea of makeing a good reminder system. i mean, it will store on the DB. and it will jump when it should and u can postphone or decline it. is there any known method to do this ? (i have implemented own method that load if from the db, it seem to me that now it works fine but if i will have tones of reminders ......) thanks alot Yair
3
1674
by: erick-flores | last post by:
Hello all I am creating an Expense Report. There are to types of expenses: Company expenses and Reimb Expeneses. The company expenses is under "Expense Details Co" table and Reimb Expenses is under "Expense Details" table. So I am creating this final report to see both type of expenses separately but I CANT. I got this report design from a website, but it only came with one "Expense Details" table, so I add the Expense Details Co. The...
2
2541
by: THEAF | last post by:
hi, I'm trying to create a reminder. i have 2 forms one for to set the reminder and one to view all the reminders. these reminders are recorded on access. i can save the reminder and the other form shows the reminders, but it does not alert the user at the time the reminder is set unless your on the form that shows all the reminders. i just used if rs!(record set)time = time and re!date = date then show msgbox. im thinkin that t might be a...
0
9962
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
10791
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
10889
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
10442
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
9609
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...
0
7150
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();...
1
4647
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
4251
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3256
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.