Click here to Skip to main content
13,141,429 members (51,049 online)
Rate this:
Please Sign up or sign in to vote.
See more:
In working on website where the user have to take a year membership to use it I need to notify him before 30 days via mail of expiration date. My mail code is working properly but i don't know when to Fire the Event.
plz Provide me solution where where I can call the event which will notify the the user that Expiry date is less than 30 days.
Posted 14-Nov-12 22:54pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can create windows service which will be checking for that once a day an sending email if necessary.
Or checking this from SQL server[^]
and sending emails from it:
SQL SERVER - 2008 - Configure Database Mail - Send Email From SQL Database[^]

Or you can create Wcf service executed from Task Scheduler.
Or something different. It depends what you want.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 15 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100