Click here to Skip to main content
15,905,785 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

In my project i need to send the email reminder to the person before 15 days your customer membership is going to expiry. It should be automatically send every day.

anybody have a code.

Help pl.....

thanks


Praveen

[edit]Urgency deleted: It may be urgent to you, but it isn't to us. All that your stressing the urgency does is to make us think you have left it too late, and want us to do it for you. This annoys some people, and can slow a response. - OriginalGriff[/edit]
Posted
Updated 14-Jul-11 21:18pm
v2
Comments
[no name] 15-Jul-11 3:11am    
Asking for code is considered arrogant here, instead ask for ideas and come up with your own code. And do not use the word "urgent", people will help you in their time, not your time.

It's not a code you need: It's to think about it more.

You can't do it as part of your website: it won't necessarily be run at all.

Instead, you want to look at either a Windows Service that performs the check and sends the mail at a scheduled time, or an application that you set (using the Windows Task Scheduler) to run every day and do the checking needed.
 
Share this answer
 
Comments
Manas Bhardwaj 15-Jul-11 6:28am    
agree. +5
Sergey Alexandrovich Kryukov 15-Jul-11 17:33pm    
Correct, a 5.
--SA
As you should have expiry date in your database, create one windows application and schedule it to run every day which checks days left and sends email to customer...
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900