Click here to Skip to main content
15,860,943 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.1K   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

 
GeneralMy vote of 5 Pin
Bruce Yang CL29-Sep-17 16:56
Bruce Yang CL29-Sep-17 16:56 
PraiseTesting on WIN2K3 Pin
CallOfduty23-Feb-16 9:38
CallOfduty23-Feb-16 9:38 
GeneralMy vote of 5 Pin
yahya.younes28-Oct-15 23:58
yahya.younes28-Oct-15 23:58 
QuestionWhat is the license for this project? Pin
Pimorn Senakat27-Jun-13 22:46
Pimorn Senakat27-Jun-13 22:46 
AnswerRe: What is the license for this project? Pin
Ivar Lumi29-Jun-13 8:19
Ivar Lumi29-Jun-13 8:19 
GeneralRe: What is the license for this project? Pin
Pimorn Senakat10-Jul-13 6:19
Pimorn Senakat10-Jul-13 6:19 
GeneralMy vote of 5 Pin
mindfox29-Oct-12 3:36
professionalmindfox29-Oct-12 3:36 
QuestionSMTP Client to ESMTP server Pin
mindfox29-Oct-12 3:34
professionalmindfox29-Oct-12 3:34 
AnswerRe: SMTP Client to ESMTP server Pin
Ivar Lumi29-Oct-12 4:22
Ivar Lumi29-Oct-12 4:22 
QuestionProblems in opening help files from lumisoft Pin
Oliero8-Jun-12 8:50
Oliero8-Jun-12 8:50 
AnswerRe: Problems in opening help files from lumisoft Pin
Ivar Lumi8-Jun-12 22:19
Ivar Lumi8-Jun-12 22:19 
GeneralRe: Problems in opening help files from lumisoft Pin
Oliero9-Jun-12 2:03
Oliero9-Jun-12 2:03 
QuestionCode have no explanation Pin
Inba karthik2-Mar-12 2:38
Inba karthik2-Mar-12 2:38 
GeneralMy vote of 2 Pin
Inba karthik2-Mar-12 2:35
Inba karthik2-Mar-12 2:35 
QuestionCreate email account using C# Pin
SorenDalby21-Dec-11 2:07
SorenDalby21-Dec-11 2:07 
AnswerRe: Create email account using C# Pin
Ivar Lumi21-Dec-11 2:18
Ivar Lumi21-Dec-11 2:18 
Questioncan anyone help me how can i get error message on smtp server Pin
dhawaljoshi27-Jul-11 0:48
dhawaljoshi27-Jul-11 0:48 
AnswerRe: can anyone help me how can i get error message on smtp server Pin
Ivar Lumi27-Jul-11 0:50
Ivar Lumi27-Jul-11 0:50 
GeneralNeed a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-program Pin
mloescher31-Mar-11 6:21
mloescher31-Mar-11 6:21 
GeneralRe: Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-program Pin
Ivar Lumi31-Mar-11 6:43
Ivar Lumi31-Mar-11 6:43 
GeneralRe: Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-program Pin
mloescher31-Mar-11 6:45
mloescher31-Mar-11 6:45 
GeneralRe: Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-program Pin
Ivar Lumi31-Mar-11 6:51
Ivar Lumi31-Mar-11 6:51 
GeneralRe: Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-program Pin
mloescher31-Mar-11 6:56
mloescher31-Mar-11 6:56 
Generalwebservice send email Pin
TanHT24-Mar-11 5:10
TanHT24-Mar-11 5:10 
GeneralUnable to install Pin
kWeasel18-Mar-11 5:58
kWeasel18-Mar-11 5:58 

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.