What is: SharpWebMail
SharpWebMail is a multi-language WEB mail service based on WEB applications developed in C#. It allows us to use SMTP or IMAP services to complete sending and receiving mailboxes. The current version is 0.13.
The controls in SharpWebMail are composed of several well-known open source projects:
FCKeditor: Not much to introduce, an open source HTML editor.
DotNetOpenMail: An SMTP client component. (It can completely replace the System.Web.Mail class when we send emails. As for why we should give up System.Web.Mail to send emails? Haha. Go to its official website to read the introduction yourself)
Mono: An open source project that allows our .NET applications to run not only on WIN, but also on other LINUX systems.
SharpMimeTools: SharpMimeTools is an open source MIME parser/decoder assembly that is written in C#
Installation steps:
Unzip it and come out. Create a virtual directory for the application.
Modify the web.config file
<login
title="[login title] configuration setting"
mode="1"
append="cnzc"
serverselection="manual"
enablequerystringlogin="false"
/>mode:
1->Full email required for login
2->Any username is allowed
3->Any username is allowed but the append
string is added to supplied username It has three login modes. One is to log in as EMAIL, the other is to log in as an account, and the user name for login must be append support user
<servers>
<server
name="Default POP3 Server"
regexp="*"
protocol="pop3"
host="pop3.163.com"
port="110"
/>
</servers
<servers>
<server
name="Default SMTP Server"
regexp="*"
protocol="smtp"
host="smtp.163.com"
port="25"
/>
</servers>I am using the 163 mail system. Please pay attention to the content filled in the host. Be sure to write it all (with pop3 prefix). At the beginning, I just filled in 163.com and that was it. Then I found that I couldn't log in, so I checked the code and found out.
As for everyone, you can use it however you want. For example, introduce it into our own projects. In this way, there is a function of sending and receiving emails.
I haven’t blogged in a long time. Probably more than a year. Because I have been studying something and learning for a long time. I will still write essays when I have time in the future. Record record. Oh
cnzc's blogs