Ok, so I wrote and asp .net app, one of the functions of it is, it emails new tickets added to the database users. In the options page, I allow the administrator to allow individual users to use this function or not, set whatever smtp server address, and set the polling time to check for new tickets and send emails.

OK, now I know I need to write a windows service for this, but how do I go about getting those values from my asp .net app? Should I save these in web.config and have the service check for those in web.config, or should I save them to the mysql database?