Click here to Skip to main content
15,885,546 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: 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 
It's me and my old "MS Exchange" habits that seem to be getting in the way of explaining exactly what it is I am after.

I can see that for each user in the lumisoft mailserver I can collect from pop3 account(s).

It is my understanding that these are user accounts and the pop3 account(s) you are collecting from should only hold mail related to that user.

Scenario

Mailserver on internet for foo.bar.com.
Mail is "pooled" into a single catch all pop3 account - there are no user accounts.
Lumisoft mailserver collects from the foo.bar.com catch all, splits it back out to individual emails and stores them in the relevant local users mailbox.

There are plenty of tools that do "collect from pop3 and redeliver as smtp" like :
www.exchangepop3.com
or
www.archimatrix.com/us/software/arxConnector/index.htm

I was just hoping that this could be included as a feature - that is if I have not totally lost the plot and it works already ?!?!??

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 
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 

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.