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>

 
    … 
 

(2)

Leave a Reply

Your email address will not be published. Required fields are marked *