how to configure smtp settings in web.config

前端 未结 3 1629
余生分开走
余生分开走 2020-12-03 09:54

I\'m trying to fix an email issue with an inherited website and don\'t have access to the code (i.e. just the compiled files). This site needs to be hosted on a new web serv

3条回答
  •  醉酒成梦
    2020-12-03 10:25

    Set IIS to forward your mail to the remote server. The specifics vary greatly depending on the version of IIS. For IIS 7.5:

    1. Open IIS Manager
    2. Connect to your server if needed
    3. Select the server node; you should see an SMTP option on the right in the ASP.NET section
    4. Double-click the SMTP icon.
    5. Select the "Deliver e-mail to SMTP server" option and enter your server name, credentials, etc.

提交回复
热议问题