Recommend a good article, how to build .NET mail server

zhaozj2021-02-16  76

There is an article on how to use .NET technology to build a mail server with .NET technology, it is worth reading. I remember the SMAILER (C Wrapped Classes for Mail Sending), so I saw this article very kind, and many content I have done, but the technology used is different.

Easy to control Socket - a simple .NET email server (Riding on sockets - a Simple .NET Email Server)

Incident, this article has the following three characteristics:

- About the Simple introduction of the SMTP protocol, relatively complete, more easily than watching RFC documents (of course SMTP itself is not very complicated).

- Basic common sense of Socket programming using .NET Framework, including the class and workflow used.

- Construct an universal solution for Email Server. Structural clear design can also expand other Socket-based applications.

Introduction

Sometimes, it's necessary to remember the roots, the place where it all began. The World Wide Web and electronic mail have become very common to our life, and it's our duty to tell the story behind their creation to our children and grandchildren. More importantly , as the importance of a technology increases, so does its usage - and thus the need that we'll need to understand what's happening at the protocol level in order to debug and / or diagnose problems to do that, we need to understand. how to work with sockets at the most primitive level, and to speak and understand the SMTP and HTTP protocols "in the raw". fortunately, Internet protocols are not all that hard to understand. As I took a closer look at SMTP and HTTP For The First Time, I Was Surprised How Simple The.

You might be a bit scared of such low-level exploration. Maybe you know the Z39.50 protocol, which often is used by libraries to offer an interface for searching their inventory of books and articles. This protocol is very tricky and almost completely incomprehensible . However, internet protocols are deliberately written to be human readable, making it relatively easy to know their basics. The .NET Framework is a very good friend to explore the mysteries of these socket based protocols. Going through an email server sample will address both sides: SMTP basics and .NET Framework programming.The following email server will be able to handle multiple connections for receiving emails In order to keep it simple, only a subset of SMTP commands will be implemented, but it's easy to extend and finish the. Software.

Full text: http://www.theserverside.net/articles/showArticle.tss? Id = socketprogramming

转载请注明原文地址:https://www.9cbs.com/read-17935.html

New Post(0)