Best library for POP3, MAPI, MIME and SMTP in C# environment

Posted on 2004-03-24
Last Modified: 2008-02-01
I want to buy a library do Pop3, MAPI and SMTP programming. If it's open source, thats fine too. I would like for it to support MIME attachments and all the other things normally required for the communications module for an email client. Basically, what I want is something that supports all of the protocols that might be used within an email client program. I know this might be asking a lot, but email has been around for a long time, it seems that there ought to be something good out there by now.

I would prefer something that already has a C# interface, and if it were managed code, all the better. However, if there is a really top notch C++ library (with source even better) that has a C# wrapper that might also work. If there is just a SUPER C++ library without a C# wrapper, I wouldn't mind knowing about it, but wrapping it in C# and dealing with the unmanaged code part of things is a pain, so it would have to be enough better to justify the time and expense of wrapping things up.

I would appreciate anyone with experience with this library commenting on how good/bad it is.

Any other libraries out there?
Question by:kellycoinguy
  • 4
  • 2

Author Comment

ID: 10670194
Oh, I'm also aware that there is built in support in .NET, but it seems rather limited in it's implementation. Comments?
LVL 12

Expert Comment

ID: 10670429

Same company, but two URLs

Great product, awesome support. Primarily focused on ASP.NET, but probably can be easily leveraged for winforms as well.

Author Comment

ID: 10672999
Do you have personal experience using this library? Have you compared it to others that may be available? What makes it good?
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

LVL 12

Expert Comment

ID: 10673305
I have used the SMTP library, not the POP (though I have heard good things).  I liked it because it it was very full featured.  Did everything I needed it to (authentication was a big hang up trying to use the standard classes) and I don't think I've scratched the surface.

Also had a chance to hear the package's creator speak, he personally answers most if not all support requests.  Liked his architecture and approach.  He wrote it all up from the ground up using .NET.

Have not compared it to other packages.  So there could be something better out there.

Author Comment

ID: 10674284
Thanks for your post... hopefully we'll get a few more to chime in before selecting the best answer though... just in case there's something better out there.

One BIG problem with this library though is that their licence is geared towards putting it on a web server, not integrating it into a WinForms application. They say to contact them about that, but we'll see how deeply they wish to gouge on this point. The ANSMTP has a very reasonable runtime library fee of just under $300, I just don't know how good it is.
LVL 19

Accepted Solution

Desp earned 500 total points
ID: 10676184
check these... they are free..
An article on creating a program to check your IMAP mail. The program will minimize in the system tray and will show the number of new messages.
An SMTP and POP3 mail server written using the .NET Framework and C#.
Simple MAPI.NET. Usage of the Simple MAPI API
POP3 Library in C#. Complete POP3 Library with Attachment read and Save option
This project is supposed to be a part of messaging-enabled server-client applications. Users in local network will be able to send messages without Internet access and without mail client installed and configured through server.

Author Comment

ID: 10755311
It seems that there may not be any other C# libraries ready to go other than the ANSMTP and a few lighter weight public domain/open source projects.

Perhaps some of the open source projects are very good... it is surprising to me that there isn't more public information about these sorts of libraries.

Thanks for the pointers! All quite interesting.


Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now