How to send auto matic emails based on scheduled tasks to
several of my clients
Answer Posted / cjani
There are two ways you can achieve this.
1> When time is fixed for scheduler
--> Create a windows application which sends mail to the
clients when its executed
-->add it to windows scheduler(schedule Task) at specified
time
2> When you want cofigurable time for scheduler
--> Create a windows application which sends mail to the
clients when its executed
--> create a windows service add a timer to the service and
set interval to 2 mins suppose.
-->On the timer elapsed event add the code for executing
the above executable
-->before executing you can check that if the current time
is equal to the time specified by user or not..(you can get
it from database or .config file also)
-->if current time = specified time or +2-2 minutes ( as we
have specified interval of 2 minutes so its possible we may
not get exact match so matching range of + or - 2 minutes)
-->install it for scheduler using installutil.. statrt
service
So above scheduler will check after every two minutes for
the matching time and if time matches it would execute the
exe for sending mails. otherwise it would keep on checking
for matching time.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between dynamic SGA and static SGA?
What is tracing? Where is it used?
What is difference between Lambda Expression and LINQ in ASP.NET?
What is asp according to you?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
Difference between singleton and singlecall.
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
What is a server cookie?
What are the difference between overriding and overloading?
How to fetch a data from one table to another table in asp.net ?
What is the file extension of web service?
Why mvc is better than asp.net? : Asp.Net MVC
Explain an object, class and method.
What’s the difference between response .redirect and server.transfer?
Less than one page, how many windows will you be able to maintain?