Use the 163 mailbox to receive ASP. NET user feedback and asp.net user feedback

Source: Internet
Author: User

Use the 163 mailbox to receive ASP. NET user feedback and asp.net user feedback

This section describes how to correctly set the Web. config file to receive user feedback emails.

The Web. config file settings in the general tutorial will not be introduced to domestic mailboxes, but will only introduce the Default Configuration:

<system.net>    <mailSettings>      <smtp deliveryMethod="Network" from="Name &lt;you@example.com&gt;">        <network host="smtp.example.com" />      </smtp>    </mailSettings>  </system.net>


However, if you are using mailbox 163, This is not successful, because mailbox 163 requires not only configuring specific ports, but also using SSL encryption. The following configuration is required:

<system.net>    <mailSettings>      <smtp deliveryMethod="Network" from="YourName &lt; <a target=_blank href="mailto:you@example. com">you@example. com</a> &gt;">        <network enableSsl="true" host="smtp.163.com" password="YourPassword" userName="YourName" port="25"/>      </smtp>    </mailSettings>  </system.net>


Change "you @ example. com" to your email address. The values in password and userName are the passwords and accounts of your email address. In this way, you can receive user feedback in the 163 mailbox.

Also attached a link, commonly used mailbox server port: http://blog.sina.com.cn/s/blog_6e85b10501012kyv.html

Zookeeper

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.