I need desktop application running on windows platform.
the main function of this application is to:
1- select data from database (the select SQL statement will be dynamic and will be read from DB)
2- Select data table and Creates Excel file.
3- Attach the created Excel file and send it via mail to stored mails in SQL DB.
4- the sending option will depend on a schedule stored also on DB.
Note: STMP configuration should be stored in DB. Source code is needed.