|
Hi all,
I am thinking of creating an extra feature into a derivative taskvision app to send reminder emails out to task assignees when the 'complete by' date is almost up.
Basically I am looking for some pointers on how to approach designing/coding this...my first thought is a windows service to poll the database once a day and find incomplete tasks that are almost up and send emails to the assignees...is a windows service the way to go or have I got the wrong end of the stick?
Thanks,
Paul |
| MigrationUser 1 Friday, November 07, 2003 9:19 AM |
I am also interested in this and also something on the other end of the process. Please let me know what you find out.
Also, I would like to see something that sends out an email to the assignee if the person making the new task/task change is not the assignee himself. This way, the assignee knows about the change without having to have the application open.
TIA, Chris |
| MigrationUser 1 Thursday, January 08, 2004 5:41 PM |
All good ideas!! I have heavily modified TaskVision base to add additional lookup tables and additional fields to the base tables (whew, a project in itself) as well as a few cystal reports and have been toying with adding an email alert system. If I do, I'll probably go the service route or I'll create a console app to be called by the NT scheduler. Let me know how it works for you and what issues you ran into.
Thanks,
JEC |
| MigrationUser 1 Friday, January 09, 2004 3:17 PM |
You can handle the task notifications internally to the web environment for TaskVision. ASP .NET implements an SmtpMail class already, and by adding a pseudo item to the cache with the appropriate Cache removal callback you can have your timed mail sending process.
The amount of code required is only about 20 or so lines to your global.asax and you can use the existing TaskVision business objects to get any information for sending the emails. |
| MigrationUser 1 Friday, January 09, 2004 8:13 PM |
That sounds like an elegant solution Justin, would there be a theoretical limit on the number of pseudo items you could put in the cache?
Paul |
| MigrationUser 1 Tuesday, January 13, 2004 11:59 AM |
ASP .NET puts thousands if not hundreds of thousands of items in the cache already for very large applications. So adding cache items that do nothing more than expire and have a Cache expiration callback is not really a big deal. |
| MigrationUser 1 Tuesday, January 13, 2004 2:07 PM |
Hmmm, a minor problem...if the box gets rebooted, the cache gets cleared...doh! |
| MigrationUser 1 Tuesday, February 10, 2004 12:20 PM |