Click here to Skip to main content
Click here to Skip to main content

SMTP and POP3 Mail Server

By , 29 Sep 2003
 

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

About the Author

Ivar Lumi
Estonia Estonia
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 5membermindfox29 Oct '12 - 3:36 
Although there isn't much documentation of the code, there are plenty of comments which helps an experienced developer using it as a library, not only as a standalone software.
Great work!
QuestionSMTP Client to ESMTP servermembermindfox29 Oct '12 - 3:34 
From taking a glimpse at the code, the SMTP client code doesn't support sending emails using AUTH commands.
Is this something I missed from the code?
If not, are there any plans in the near future for this implementation?
AnswerRe: SMTP Client to ESMTP servermemberIvar Lumi29 Oct '12 - 4:22 
Hi,
 
Get newer code, AUTH is supported.
http://www.lumisoft.ee/lswww/download/downloads/[^]
QuestionProblems in opening help files from lumisoftmemberOliero8 Jun '12 - 8:50 
hi
first of all thank you for your project, I just discovered and I find it incredible. my problem is: I download the help file of your page lumisoft http://www.lumisoft.ee/lsWWW/Download/MailServer_ENG.chm but I get an error message Navigation to the webpage WAS canceled
any idea?
AnswerRe: Problems in opening help files from lumisoftmemberIvar Lumi8 Jun '12 - 22:19 
Hi,
 
Help is outdated anyway(if you donwload latest), UI should be easy to understand.
By default all is configured as is best for everyone, jusr create domains and users.
GeneralRe: Problems in opening help files from lumisoftmemberOliero9 Jun '12 - 2:03 
True. Tks a lot. Really impresive your class reference
http://www.lumisoft.ee/lsWWW/download/downloads/Net/Help/Index.html[^]
QuestionCode have no explanationmemberInba karthik2 Mar '12 - 2:38 
This article does not have any note for create new user...Confused | :confused: :|
GeneralMy vote of 2memberInba karthik2 Mar '12 - 2:35 
Code have no explanation for create new user....
QuestionCreate email account using C#memberSorenDalby21 Dec '11 - 2:07 
Hi,
 
This project looks great. I am on the lookout for a SMTP Server where I can create email accounts from my ASP.NET site.
 
Is that possible?
 
TIA
 
BR
Soeren
AnswerRe: Create email account using C#memberIvar Lumi21 Dec '11 - 2:18 
Hi,
 
Yes latest version from:
http://www.lumisoft.ee/lsWWW/download/downloads/[^]
 
Allows you create any object. You must use UserApi. For getting started, mail server manager is best way to start, it uses USER API.
Questioncan anyone help me how can i get error message on smtp servermemberdhawaljoshi27 Jul '11 - 0:48 
how can i get error message when i enter the wrong email id of the recipient.
AnswerRe: can anyone help me how can i get error message on smtp servermemberIvar Lumi27 Jul '11 - 0:50 
Hi,
 
I doubt noone can get what you mean ?
GeneralNeed a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-programmembermloescher31 Mar '11 - 6:21 
Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-program.
I'm not really firm with emailing issues, except sending a mail per c# to an existing mailserver (like exchange-server Frown | :-( ), and getting mails from such a server.
But now, i need a email-server written in c#-code, which i can modify a bit.
I have to verify, if a program sends out emails correctly. But i cannot take the existing exchange-server, because this is a whiteboxtest and the test has to check the content of sent mail, the recipient ect. too, without sending something to the real-lif exchange server. Therefore i planned to install an own emailserver on localhost...so simulate exchange...and verify what i want to verify. The program to test is configurable like that:

<mailSettings messageBufferCount="1" messageCollectingPeriode="180">
<smtp deliveryMethod="Network">
<network host="XMX-XXX001.XXX.xxxx.EU" />
<sender address="no.reply@xxxx.com" displayName="xxxxxx"/>
</smtp>
<recipients>
<recipient address="rrr.fff@xxxx.com" displayName="xxxx"/>
</recipients>
</mailSettings>
 
Can i use your server for that issue?
GeneralRe: Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-programmemberIvar Lumi31 Mar '11 - 6:43 
Hi,
 
Yes you can.
GeneralRe: Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-programmembermloescher31 Mar '11 - 6:45 
Very very good... Can you please be so kind and give me a short explanation how to do that... or where can i find a documentation...just loaded the projects down and opened the Net-project in vs2008...it was builded without error...
thanks a lot
GeneralRe: Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-programmemberIvar Lumi31 Mar '11 - 6:51 
Probably you need to write message fileter, then you can do all checks there, also then you don't need to alter mail server code.
Just use virus filter as example fiter how to write it.
GeneralRe: Need a emailserver(like a intelligent mock) to verify in a whiteboxtest if emails are sent correctly out by a c#-programmembermloescher31 Mar '11 - 6:56 
very good idea..thanks, i will check it out. perhaps i will get some problems with our system administrators, perhaps they installed something to inhibite that your server can be installed local (port 25?)...like a firewall...perhaps..in this case, i will contact you to check out how we can do it. Wish you a good time.. Martina
Generalwebservice send emailmemberTanHT24 Mar '11 - 5:10 
i want do programe send email by webservice. help me
GeneralUnable to installmemberkWeasel18 Mar '11 - 5:58 
I'm on windows 7 and every time I try run lsMailServer.exe I get the following error:
 
"The application was unable to start correctly (0xc000007b). Click OK to close the application"
 
Anyone had this problem before?
GeneralRe: Unable to installmemberIvar Lumi19 Mar '11 - 1:00 
Hi,
 
In win 7 you need run it as administrator ...
GeneralTimeout while receiving messagememberrobertbindas9 Feb '11 - 3:35 
Hi Ivar,
 
still using your smtp server implementation and it rocks. However, from time to time happens, that smtp server is not able to receive the message ( gives timeout back ) and after that the processor load stays high after that( seems like session processing the message causes that).
 
Is there any built in technique to handle this type of timeouts ? Or should I implemement it into Session_GetMessageStream, checking for LastActivity property, calling Disconnect/Dispose after some amount of time ?
 
Thank you in advance for your help.
 
Robert
GeneralRe: Timeout while receiving messagememberIvar Lumi9 Feb '11 - 3:39 
Hi,
 
What version do you use ?
GeneralRe: Timeout while receiving messagememberrobertbindas10 Feb '11 - 4:17 
Version 2.0.3443.29874
GeneralRe: Timeout while receiving messagememberIvar Lumi10 Feb '11 - 19:24 
I meant version in version.txt file.
GeneralRe: Timeout while receiving messagememberrobertbindas14 Feb '11 - 0:38 
Here is the copy of content of version.txt file:
 
//----------------------------------------
version: 0.X (xx.xx.xx)
*) Ole mime classes (MimeConstructor,MimeParser,...) obsoleted.
*) Completely new Mime system. For more see LumiSoft.Net.Mime namespcae in help file.
 
//----------------------------------------
version: 0.11 (13.06.2005)
*) Removed obslolete methods from DnsEX
*) DnsEx renamed to Dns_Client and moved to new namespace "LumiSoft.Net.Dns.Client".

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 30 Sep 2003
Article Copyright 2003 by Ivar Lumi
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid