Click here to Skip to main content
15,885,278 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 1M   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

 
General550 Relay not allowed Pin
Ret Orrick15-Mar-07 6:11
Ret Orrick15-Mar-07 6:11 
GeneralRe: 550 Relay not allowed Pin
Ivar Lumi15-Mar-07 6:21
Ivar Lumi15-Mar-07 6:21 
GeneralHelp! (BodyText is blank) Pin
luiz antonio7-Nov-06 8:51
luiz antonio7-Nov-06 8:51 
GeneralRe: Help! (BodyText is blank) Pin
Ivar Lumi7-Nov-06 8:53
Ivar Lumi7-Nov-06 8:53 
GeneralRe: Help! (BodyText is blank) Pin
luiz antonio7-Nov-06 9:01
luiz antonio7-Nov-06 9:01 
GeneralRe: Help! (BodyText is blank) Pin
Ivar Lumi7-Nov-06 9:02
Ivar Lumi7-Nov-06 9:02 
GeneralNow works linux + mono Pin
Ivar Lumi4-Aug-06 3:13
Ivar Lumi4-Aug-06 3:13 
GeneralRe: Now works linux + mono Pin
Quietlife18-Mar-07 13:30
Quietlife18-Mar-07 13:30 
GeneralRe: Now works linux + mono Pin
Ivar Lumi18-Mar-07 20:15
Ivar Lumi18-Mar-07 20:15 
Generalwating for 0.91 version. Pin
Ivan Lee (CN)27-Jul-06 23:24
Ivan Lee (CN)27-Jul-06 23:24 
GeneralRe: wating for 0.91 version. Pin
Ivan Lee (CN)31-Jul-06 19:27
Ivan Lee (CN)31-Jul-06 19:27 
Questionhow about the 0.91 version mail server? Pin
Ivan Lee (CN)24-Jul-06 21:25
Ivan Lee (CN)24-Jul-06 21:25 
AnswerRe: how about the 0.91 version mail server? Pin
Ivar Lumi24-Jul-06 21:32
Ivar Lumi24-Jul-06 21:32 
QuestionDo you removed the mail server 0.90 package? Pin
Ivan Lee (CN)23-Jul-06 23:27
Ivan Lee (CN)23-Jul-06 23:27 
AnswerRe: Do you removed the mail server 0.90 package? Pin
Ivar Lumi24-Jul-06 0:04
Ivar Lumi24-Jul-06 0:04 
General550 Relay not allowed Pin
khunsoft25-Apr-06 16:40
khunsoft25-Apr-06 16:40 
GeneralRe: 550 Relay not allowed Pin
Ivar Lumi25-Apr-06 19:35
Ivar Lumi25-Apr-06 19:35 
GeneralRe: 550 Relay not allowed Pin
khunsoft25-Apr-06 20:18
khunsoft25-Apr-06 20:18 
GeneralRe: 550 Relay not allowed Pin
Ivar Lumi25-Apr-06 20:29
Ivar Lumi25-Apr-06 20:29 
GeneralRe: 550 Relay not allowed Pin
khunsoft25-Apr-06 20:44
khunsoft25-Apr-06 20:44 
GeneralRe: 550 Relay not allowed Pin
Ivar Lumi1-May-06 21:37
Ivar Lumi1-May-06 21:37 
GeneralSSL / TLS available Pin
Ivar Lumi13-Apr-06 21:04
Ivar Lumi13-Apr-06 21:04 
GeneralRe: SSL / TLS available Pin
c2j214-Nov-06 23:36
c2j214-Nov-06 23:36 
GeneralRe: SSL / TLS available Pin
Ivar Lumi14-Nov-06 23:53
Ivar Lumi14-Nov-06 23:53 
GeneralAny support for gmail Pin
Mehfuz Hossain17-Mar-06 20:31
Mehfuz Hossain17-Mar-06 20:31 

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.