Click here to Skip to main content
15,868,349 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 999K   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

 
Generalerror 550 on webmail Pin
Anonymous6-Dec-04 7:39
Anonymous6-Dec-04 7:39 
GeneralRe: error 550 on webmail Pin
Ivar Lumi7-Dec-04 4:52
Ivar Lumi7-Dec-04 4:52 
General503 WHEN NO HELO COMMAND Pin
Anonymous4-Dec-04 0:53
Anonymous4-Dec-04 0:53 
GeneralRe: 503 WHEN NO HELO COMMAND Pin
Ivar Lumi4-Dec-04 3:25
Ivar Lumi4-Dec-04 3:25 
General(CC,BCC) delivering problem Pin
Anonymous18-Nov-04 21:03
Anonymous18-Nov-04 21:03 
GeneralRe: (CC,BCC) delivering problem Pin
Ivar Lumi18-Nov-04 21:13
Ivar Lumi18-Nov-04 21:13 
GeneralRe: (CC,BCC) delivering problem Pin
tazyabi20-Nov-04 5:54
tazyabi20-Nov-04 5:54 
GeneralRe: (CC,BCC) delivering problem Pin
Ivar Lumi20-Nov-04 6:07
Ivar Lumi20-Nov-04 6:07 
You got some another problem, outlook multiplies messages IT'S NOT RELATED TO MAIL server. Whant outlook you have I tested it with outlook XP.
GeneralSuggestions for inti-SPAM filter Pin
Anonymous16-Nov-04 13:09
Anonymous16-Nov-04 13:09 
GeneralRe: Suggestions for inti-SPAM filter Pin
Anonymous13-Dec-04 6:46
Anonymous13-Dec-04 6:46 
GeneralRe: Suggestions for inti-SPAM filter Pin
Ivar Lumi13-Dec-04 7:33
Ivar Lumi13-Dec-04 7:33 
Generalfeatures Pin
Anonymous16-Nov-04 10:39
Anonymous16-Nov-04 10:39 
GeneralWhen will the next version to release Pin
Ivan Lee (CN)1-Nov-04 0:21
Ivan Lee (CN)1-Nov-04 0:21 
GeneralRe: When will the next version to release Pin
Ivar Lumi1-Nov-04 1:24
Ivar Lumi1-Nov-04 1:24 
Generalsending mail from a asp page Pin
eplanet30-Oct-04 21:09
eplanet30-Oct-04 21:09 
GeneralWaiting for the next version!! Pin
Ivan Lee (CN)30-Oct-04 21:01
Ivan Lee (CN)30-Oct-04 21:01 
GeneralRe: very complicated Pin
Anonymous30-Sep-04 19:04
Anonymous30-Sep-04 19:04 
QuestionServer down?? Pin
Figuerres19-Sep-04 14:03
Figuerres19-Sep-04 14:03 
AnswerRe: Server down?? Pin
Anonymous20-Sep-04 5:02
Anonymous20-Sep-04 5:02 
AnswerRe: Server down?? Pin
Figuerres20-Sep-04 7:39
Figuerres20-Sep-04 7:39 
GeneralLatest version Pin
JDBP9-Sep-04 7:19
JDBP9-Sep-04 7:19 
GeneralRe: Latest version Pin
Anonymous9-Sep-04 7:31
Anonymous9-Sep-04 7:31 
GeneralRe: Latest version Pin
JDBP10-Sep-04 5:38
JDBP10-Sep-04 5:38 
GeneralRe: Latest version Pin
Anonymous11-Sep-04 20:32
Anonymous11-Sep-04 20:32 
GeneralCode- who calls smtp_Server_NewMailEvent Pin
DanWifi24-Aug-04 2:41
DanWifi24-Aug-04 2:41 

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.