Where to place the email settings in web.config in ASP.NET MVC?




  <!– Add the email settings to the element –>
  <system.net>
   
     
        <network 
             host=”relayServerHostname” 
             port=”portNumber”
             userName=”username”
             password=”password” />
     
   
  </system.net>

 
    … 
 

Leave a Comment