Click here to Skip to main content
15,901,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello I have to send

there are two textbox
1->From date
2->To date
some dropdown list
and at last one grid

on the basis of to and from date I have to send mail
1> if both the date are current date than I have to send dailymail.
2>If the date diffrence is 7 days means it can be 24 july to 31 july than in this case I have to send weeklymail.
3>similarly for month.
Description-:
sendMailDaily( --; create Excel with the corret data as per the current date and then write mailSend() to send mail . xls will go in attachment
sendMailWeekly()
sendMailMonthly()

Now Please reply me as soon as possible.
Posted
Updated 4-Aug-10 23:45pm
v2
Comments
koool.kabeer 5-Aug-10 5:27am    
i didnt get you ....
please give more clear scenario..

1 solution

You can create a batch file which will execute using the Windows scheduler.

On the date basis..
 
Share this answer
 
v2

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