Click here to Skip to main content
15,881,381 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

 
GeneralRe: Timeout while receiving message Pin
robertbindas1-Mar-11 4:25
robertbindas1-Mar-11 4:25 
GeneralRe: Timeout while receiving message Pin
robertbindas2-Mar-11 2:37
robertbindas2-Mar-11 2:37 
GeneralRe: Timeout while receiving message Pin
Ivar Lumi2-Mar-11 2:44
Ivar Lumi2-Mar-11 2:44 
GeneralRe: Timeout while receiving message Pin
Ivar Lumi3-Mar-11 20:11
Ivar Lumi3-Mar-11 20:11 
GeneralRe: Timeout while receiving message Pin
Loves00720-Feb-14 6:47
Loves00720-Feb-14 6:47 
Generalemail server configration Pin
zzzfirst11130-Dec-10 10:43
zzzfirst11130-Dec-10 10:43 
GeneralRe: email server configration Pin
Ivar Lumi30-Dec-10 20:00
Ivar Lumi30-Dec-10 20:00 
GeneralMy vote of 5 Pin
mohanudupa2-Nov-10 21:26
professionalmohanudupa2-Nov-10 21:26 
I tried SMTP, for 15 days but you are great.. you helped me a lot.. Thank you Ivar Lumi
Generaln Pin
wadeaa18-May-10 10:33
wadeaa18-May-10 10:33 
QuestionSMTP Proxy Server Pin
chris_lines14-Nov-09 23:42
chris_lines14-Nov-09 23:42 
AnswerRe: SMTP Proxy Server Pin
Ivar Lumi5-Nov-09 0:21
Ivar Lumi5-Nov-09 0:21 
GeneralRe: SMTP Proxy Server Pin
chris_lines15-Nov-09 1:11
chris_lines15-Nov-09 1:11 
GeneralRe: SMTP Proxy Server Pin
Ivar Lumi5-Nov-09 1:50
Ivar Lumi5-Nov-09 1:50 
GeneralRe: SMTP Proxy Server Pin
chris_lines15-Nov-09 2:39
chris_lines15-Nov-09 2:39 
GeneralThanks,your article help me! Pin
7916711512-Oct-09 22:43
7916711512-Oct-09 22:43 
Generalunable to send out email Pin
weihann30-Jul-09 19:00
weihann30-Jul-09 19:00 
GeneralRe: unable to send out email Pin
Ivar Lumi30-Jul-09 19:42
Ivar Lumi30-Jul-09 19:42 
GeneralSMTP Server Events Pin
robertbindas25-May-09 5:57
robertbindas25-May-09 5:57 
GeneralRe: SMTP Server Events Pin
Ivar Lumi25-May-09 6:12
Ivar Lumi25-May-09 6:12 
GeneralRe: SMTP Server Events Pin
robertbindas25-May-09 6:47
robertbindas25-May-09 6:47 
GeneralRe: SMTP Server Events Pin
Ivar Lumi25-May-09 6:52
Ivar Lumi25-May-09 6:52 
GeneralRe: SMTP Server Events Pin
robertbindas25-May-09 7:00
robertbindas25-May-09 7:00 
GeneralLiscense or Copyright Pin
lqdsnshine22-Dec-08 10:24
lqdsnshine22-Dec-08 10:24 
GeneralRe: Liscense or Copyright Pin
Ivar Lumi22-Dec-08 20:36
Ivar Lumi22-Dec-08 20:36 
Generalis this compatable with workgroup Pin
syed rahman18-Nov-08 20:51
syed rahman18-Nov-08 20:51 

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.