Author: venkatu2005 | Posted on: 12/23/2008 10:11:18 PM | Views : 262

I have one task in our project..

I have to send email to user when user will not login for the 10 days , In the Users table i have one field ie:Lastlogindate that stores lastlogindate of each user
i have to check the date with the last logindate , with current date , if the user has not login for the 10 days , i have to send email... 
how shall i do this....? 
let anyone give the sample code....
Is it possible to compare date ie: lastlogindate > Date.Now. 
and the email sent to the user only one time... if he has not login for the 10 days..
Thanks

 
...

Go to the complete details ...