Ankit  Shukla

Ankit Shukla

  • NA
  • 681
  • 117.6k

need Dynamic data in web config

Mar 3 2017 4:38 AM
Hello,
 
       I set email credentials in web config like:
 
<system.net>
<mailSettings>
<smtp from="[email protected]">
<network host="smtp.gmail.com"
port="587"
userName="[email protected]"
password="abc@123#"
enableSsl="true"/>
</smtp>
</mailSettings>
</system.net>
 
Now we need to fetch these credentials from database and save here. Please Help.
Thanks in Advance!  
 

Answers (3)