Click here to Skip to main content
15,867,686 members
Articles / Programming Languages / C#
Article

SMTP and POP3 Mail Server

Rate me:
Please Sign up or sign in to vote.
4.88/5 (96 votes)
29 Sep 20031 min read 998.9K   18.9K   315   313
An SMTP and POP3 mail server written using the .NET Framework and C#.

Sample Image - smtppop3mailserver.jpg

Introduction

The MailServerComponent implements POP3 and SMTP (core) servers. It Handles lowlevel POP3 and SMTP commands and raises events according to it. The MailServer service just handles MailServerComponent events and does mail retrieving and storing job.

Features

General:

  • SMTP/POP3/IMAP4/WebMail
  • IP access filtering
  • User mailbox size limit
  • Supports XML or MSSQL databases
  • Nice GUI for administation
  • Well commented source code included

SMTP:

  • All basic SMTP features  
  • Supports multiple domains  
  • Supports multiple e-address for one mailbox  
  • Supports aliases(Mailing lists). Supports public and private(needs authentication) lists.
  • Supports email routing. eg *ivar* pattern routes all addresses containing ivar to specified mailbox or remote address  
  • SMTP AUTH (LOGIN CRAM-MD5) (supported authentication types)  
  • SMTP SIZE, PIPELINING, 8BITMIME, CHUNCKING support  
  • SMTP custom message filters  
  • Relay can be controlled by IP access or authentication

POP3:

  • All basic POP3 features
  • APOP command for secure authentication
  • POP3 AUTH (LOGIN CRAM-MD5) (supported authentication types)
  • POP3 remote accounts

WebMail (ASP.NET):

  • Standalone webmail, can be used any with IMAP based mailserver
  • Supports XML or MSSQL databases
  • Multiple UI languages (ENG,EST,RUS)

Notes

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Estonia Estonia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralRe: Eml Attachment Pin
steplife21-Sep-08 23:47
steplife21-Sep-08 23:47 
QuestionHow you do attachement with this? Pin
tumitoto21-Sep-07 3:20
tumitoto21-Sep-07 3:20 
AnswerRe: How you do attachement with this? Pin
Ivar Lumi23-Sep-07 6:18
Ivar Lumi23-Sep-07 6:18 
GeneralRe: How you do attachement with this? Pin
tumitoto25-Sep-07 10:00
tumitoto25-Sep-07 10:00 
GeneralRe: How you do attachement with this? Pin
Ivar Lumi25-Sep-07 19:38
Ivar Lumi25-Sep-07 19:38 
GeneralRe: How you do attachement with this? Pin
tumitoto26-Sep-07 7:39
tumitoto26-Sep-07 7:39 
GeneralCross-Domain Pin
dickinson.jonathan27-Jul-07 6:33
dickinson.jonathan27-Jul-07 6:33 
GeneralRe: Cross-Domain Pin
Ivar Lumi27-Jul-07 8:09
Ivar Lumi27-Jul-07 8:09 
Hi,

>How on earth do I send mail from my SMTP server to an arbitrary SMTP server?
I dont get what you mean exactly. Are you talking about getting destination email domain IP addresses ?

>So then how do I send mail to a server that requires logins?
uhuu, what can i say you just need to login, thats all.

>Is the client actually a client/server? What is mean is can I assume that the communication from >the client to the server is EXACTLY the same as a server to server?
Nope, smtp client and servers 2 different things. Client sends message, while smtp server receives. So full functional mail server will use smtp server and client components.
Relay part in mail server is actually smtp client.



GeneralMail Robot? [modified] Pin
Anthony Baraff25-Jul-07 9:09
Anthony Baraff25-Jul-07 9:09 
GeneralRe: Mail Robot? Pin
Ivar Lumi27-Jul-07 8:04
Ivar Lumi27-Jul-07 8:04 
GeneralMono + SuseLinux + smtp (sending mail) Pin
ravivertis12-Apr-07 1:43
ravivertis12-Apr-07 1:43 
GeneralRe: Mono + SuseLinux + smtp (sending mail) Pin
Ivar Lumi13-Apr-07 0:28
Ivar Lumi13-Apr-07 0:28 
Question"Catch all" POP3 collection possible ? Pin
Quietlife18-Mar-07 13:57
Quietlife18-Mar-07 13:57 
AnswerRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi18-Mar-07 20:16
Ivar Lumi18-Mar-07 20:16 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife19-Mar-07 4:37
Quietlife19-Mar-07 4:37 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi19-Mar-07 4:50
Ivar Lumi19-Mar-07 4:50 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife19-Mar-07 8:28
Quietlife19-Mar-07 8:28 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi19-Mar-07 8:46
Ivar Lumi19-Mar-07 8:46 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife19-Mar-07 9:35
Quietlife19-Mar-07 9:35 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi19-Mar-07 20:21
Ivar Lumi19-Mar-07 20:21 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife20-Mar-07 0:14
Quietlife20-Mar-07 0:14 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi20-Mar-07 0:18
Ivar Lumi20-Mar-07 0:18 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife20-Mar-07 0:37
Quietlife20-Mar-07 0:37 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi20-Mar-07 0:46
Ivar Lumi20-Mar-07 0:46 
General550 Relay not allowed Pin
Ret Orrick15-Mar-07 6:11
Ret Orrick15-Mar-07 6:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.