Click here to Skip to main content
15,902,447 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to send mails automatically when the application is open.so i wrote webservice.But i dont know how to call webservice automatically in my application
Posted

You can't. That's not what web services do. you wrote the wrong thing. This is a web site, what do you mean by 'application open' ? If you want to start a process when people log in, but have it keep going between page requests, a WINDOWS service is what you need.
 
Share this answer
 
Comments
Ramu15 3-Aug-12 3:20am    
How to write windows service in asp.net
Christian Graus 3-Aug-12 3:20am    
You can't. It has nothing to do with ASP.NET. But if it were possible, the answer would not be a comment on a forum reply. You have access to google, don't you ?
As mentioned, you need Windows Service!

MSDN: Details about Windows Service: Introduction to Windows Service Applications[^]
Sample: Simple Windows Service which sends auto Email alerts[^]

Try!
 
Share this answer
 

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