Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How Can assign alias name for ASP.NET Web API Action?

1455


Explain the namespace classes used in asp.net mvc? : asp.net mvc

1005


How would you turn off cookies on a page of a website?

930


Define page output caching?

1007


How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?

1099


How can you register a custom server control to a web page?

990


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

1019


Explain about Automatic resource management?

1063


What is the difference between Session and response.Redirect?

1132


What is session authentication?

999


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

1049


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

1265


How can we use Web API with ASP.NET Web Form?

1110


Which platform does Microsoft .NET use for exchanging data between applications?

1048


Explain the use of view state?

1019