Receive ASP. NET user feedback using 163 mailbox

Source: Internet
Author: User
Tags server port

Here are the main ways to set up the Web correctly. Config file to receive user feedback messages.

The Web in the general tutorial. Config file settings do not describe the mailboxes that are used domestically, but only the default configuration:

<system.net>    <mailSettings>      <smtp deliverymethod= "Network" from= "Name &lt;[ Email protected]&gt; " >        <network host= "smtp.example.com"/>      </smtp>    </mailSettings>  </system.net>


However, if you are using 163 mailbox, this is not successful, because 163 mailbox not only need to configure a specific port, but also through SSL encryption, at this time, you need the following configuration:

<system.net>    <mailSettings>      <smtp deliverymethod= "Network" from= "YourName &lt; <a Target=_blank href= "mailto:[email protected" com ">[email protected] com</a> &gt;" >        <network enablessl= "true" host= "smtp.163.com" password= "YourPassword" username= "YourName" port= "25"/ >      </smtp>    </mailSettings>  </system.net>


where "you @ example." Com "to your e-mail address, password and userName in the value of your mailbox is the password and account. In this way, you can receive user feedback in 163 mailboxes.

Also attached is a link to the common Mailbox server port: http://blog.sina.com.cn/s/blog_6e85b10501012kyv.html



Receive ASP. NET user feedback using 163 mailbox

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.