I have created a console application which sends emails to people by selecting their email addresses from database. I have used entity framework for database connectivity. I have stored connection string and SMTP settings in app.config. I have called this application exe from a batch file. I have called this exe file of console application from a batch file. I have provided client with exe and batch file. This exe uses my gmail smtp settings and connection strings. How can client update the connenction string and SMTP settings of this EXE ? Are there any options in batch file to build the exe when settings are changes in app.config ? Please suggest.

Regards,
Asif Hameed