Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
2.27/5 (3 votes)
Few days ago I have a website in which i send mail automatically by using Task Scheduler.
I have Created a console based application in it and send mail using task Scheduler at regular interval. But Now the site owner is moving that site from virtual hosting to shared hosting.
And they are not allowing to schedule task. Neither they are providing Sql Server agent and not allowing to Create Window Services so what option i have to send mails at regular interval.
and also i have created that site like a year ago so it will be difficult to make much changes in that site.
Can anyone suggest me what option i have to send mails.
Posted
Comments
Pranav-BiTwiser 1-Mar-14 12:04pm    
will u send me the code for task scheduler??
Vishal Pand3y 1-Mar-14 12:07pm    
what? I have Scheduled Task using Window Property....
Pranav-BiTwiser 1-Mar-14 12:14pm    
thats what i want.....actually i want to send email after every 24 hours...
You can host that scheduler anywhere. Just retrieve the details from the database by a Connection String by which you can connect to remote host providing the database service.
ZurdoDev 1-Mar-14 22:08pm    
If you can't do a windows service and you can't use a sql job and you can't use task scheduler what else is there?

Sounds like you need to find a new hoster.

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