Click here to Skip to main content
15,904,823 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear all,I am facing problem while sending email in asp.net using c#.my requirement is to send emails on daily basis to selected emailids at a particular time e:g Everyday at 5pm.I am doing the same thing by writing the code inside global.asax (Application_start Event) using Timer Concept.But the problem is that this is working for 1 to 2 days and after that not sending Emails.So Please help me out.For any queries please feel free to post.Waiting for your quick response.
Posted
Comments
Anh Nguyen Trong 30-Aug-13 4:34am    
you wirte in application start. it means run at starting application. you stop and start again. application will send mail.
sunilsourav 30-Aug-13 8:59am    
Thank u for ur reply.As it is a webapplication then how can i stop and start the application again and again.
Thanks7872 30-Aug-13 4:42am    
Which database do you use?
sunilsourav 30-Aug-13 8:51am    
Hi i am using sqlserver as database.Inside the appcode i have written a function to get the emailid that is called from timer elapsed event inside global.asax
Anh Nguyen Trong 30-Aug-13 4:50am    
I think that is not depend on database server if he need the contents from c#

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