Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i developed one website, in that i sent mails when event fired but i need to send mails every day night 12.00 am automatically. can please help me anybody
thank u...........
Posted

 
Share this answer
 
Comments
Espen Harlinn 9-Jul-11 12:32pm    
This more or less solves it, my 5
mhamad zarif 9-Jul-11 12:40pm    
Veryy good links. my 5.
fjdiewornncalwe 9-Jul-11 14:34pm    
Excellent additions.
Sergey Alexandrovich Kryukov 10-Jul-11 3:14am    
Such Windows Service already exists, called Task Scheduler, but generally correct ideas, my 5.
--SA
You need to allow the server that hosts the website or the database to do this - a web page would not be reliable for such a task.
 
Share this answer
 
Comments
Espen Harlinn 9-Jul-11 12:32pm    
Good points, my 5
Abhinav S 9-Jul-11 13:09pm    
Thank you.
If properly designed, a website should have no code that runs without a request from the client being the trigger, so I would suggest that you don't want to do this from a website. What you need to do is create a simple application which can either be run as a windows service, or as a standalone application triggered by the Windows Task Scheduler.
 
Share this answer
 
Comments
Espen Harlinn 9-Jul-11 12:32pm    
Good points, my 5
Sergey Alexandrovich Kryukov 10-Jul-11 3:12am    
Totally agree, a 5.
--SA
Espen Harlinn 10-Jul-11 7:28am    
I think you missed the "5" and hit the "1" - happens sometimes :)

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