Click here to Skip to main content
15,946,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a created a windows service that sends an email with an attachment with a time interval of 2 min.

After starting the service it sends a email with an attachment with out any problem(also sometimes it works properly for 2 to 3 times continuously)then it stops sending mail.

how can i overcome this.
Posted
Comments
Rohit Kumar Mumbai 19-Mar-13 6:07am    
Hi Harsha,

Please try the solution provided at the below link:-

http://stackoverflow.com/questions/10014126/using-timer-within-windows-service
ZurdoDev 19-Mar-13 7:08am    
You'll need to add some logging to your app to find out what is going on.

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