Home Products IMAP Library for .NET

Ultimate IMAP Component for .NET

Easily manage, download, search, and process emails and folders on IMAP4 servers

The Ultimate IMAP component is a part of the Mail Component which offers a comprehensive interface for downloading e-mail messages from a server and managing your mailbox remotely, all from within your application. In addition, it also allows you to compose, decrypt, encrypt, sign, and validate email messages.

If you only need the Xamarin Android, iOS and .NET CF version, visit IMAP Library for Mobile for more details.

is also included in


Downloading and managing email messages and mailboxes easily

The IMAP component offers a comprehensive interface for IMAP, providing the developer with everything required to incorporate mail management tasks in an application as listed below:

  • Connect to standard IMAP server or secure IMAP server over TLS/SSL. It supports both Implicit and Explicit security modes
  • List email messages
  • Download entire or partial messages to a disk file or stream
  • Upload messages stored in a file or memory stream
  • Copy messages
  • Delete messages
  • Purge messages
  • Move messages between folders/mailboxes
  • Mark/unmark message flags
  • Listing mailboxes/folders
  • Create mailboxes/folders
  • Rename mailboxes/folders
  • Delete mailboxes/folders
  • Subscribe and unsubscribe mailboxes/folders
  • Obtain mailbox information
  • Search messages with advanced options
  • Authenticate securely with CRAM-MD5, DIGEST-MD5, NTLM, and Kerberos methods

Ultimate IMAP is also included in the following suites which are bundles that include many additional .NET components:


Supports MIME and S/MIME

When designing the IMAP component, our forcus is on ease-of-use, performance, reliability, and flexibility. As a benefit, it is not necessary for the user to have a deep knowledge of how the IMAP protocol is implemented and how to read, encrypt, decrypt, sign and validate a message; IMAP component does all the hard works for you. The following is a list of some key MIME and S/MIME features:

  • Load and save message from/into MailMessage object
  • Supports multiple recipients with To, CC, and BCC headers
  • Attach multiple files
  • Encrypt, decrypt, sign, and validate email messages easily
  • Extract attachments from MS-TNEF (winmail.dat) files
  • Import HTML file or web page into e-mail
  • Forward message as attachment
  • Base64 and Quoted-Printable
  • Fullly support creating and displaying HTML messages with embedded resources such as Image, source, etc. in your applications

Security and Reliability

The Ultimate IMAP component provides industry standard security using the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols. Our components support strong, commercial grade encryption, and we do not rely on any third-party toolkits which have licensing restrictions or are encumbered by patents. By setting a single property or option, the component automatically handles all of the complex certificate management, protocol negotiation and encryption. Even advanced options, such as using client certificates, are handled easily with just a few lines of code.


Supports HTTP Connect, SOCKS4, SOCKS4A & SOCKS5 Proxy Servers

Ultimate IMAP provides full support for Proxy Servers such as HTTP CONNECT, SOCKS4, SOCKS4A, and SOCKS5. By simply setting a few properties, you are able to download, upload, and manage email messages and mailboxes from IMAP servers through the desired proxy server, providing your application with the greatest flexibility and highest level of security available.


Support for IPv6, the next generation Internet protocol

IPv6 (Internet Protocol version 6), the next-generation protocol designed by the IETF (Internet Engineering Task Force), will gradually replace the current version of the Internet Protocol, IPv4.

With Ultimate IMAP Component, users have an integrated service assurance solution that will provide them with IMAP, and Proxy capabilities in mixed IPv4 and IPv6 environments. This helps organizations with the adoption of and the transition to IPv6 by making the management of such networks seamless.


.NET Technology

By using 100% managed code written in C#, the Ultimate IMAP component takes advantage of the numerous built-in features of the .NET Framework to enhance performance. Moreover, the component is CLS compliant, and it does not use any unsafe blocks for minimal permission requirements. In addition, the component is highly compatible with Microsoft ClickOnce.


Supports many .NET Platforms

Ultimate IMAP Component for .NET supports the following platforms:
  • Windows Forms
  • Web Forms
  • Web Services
  • WPF

In addition, it is also possible to use the component in PowerShell - Microsoft’s new command console and scripting language.

Ultimate IMAP is fully compatible with Visual Studio 2005 to 2013 (.NET 2.0 to .NET 4.5.1). A benefit of using our products is that you are always up-to-date with Microsoft's latest technologies.


Supports event-driven (Asynchronous) and blocking (Synchronous) Design

Most applications written with the IMAP component will be synchronous. The synchronous method provides you ease-of-use, but it can only return the control back to the caller after it has finished, meaning that it blocks the execution of the caller for a period of time. Using the synchronous method is recommended when you only need to execute one IMAP operation at a time.

You might decide that your design requires an asynchronous operation when it needs to manage multiple email messages simultaneously. Powerful asynchronous methods provide this capability. The asynchronous method is executed on a thread separate from the calling thread. Such operation is useful when an IMAP operation is time-consuming and other codes need to execute without waiting for the initial operation to complete. In addition, the user interface will be most responsive when asynchronous methods are used.



The IMAP component has been designed with a great degree of flexibility and can be used with a wide variety of programming languages and different types of development environments. Available as a managed .NET class, it is fully supported by languages such as Visual Basic, Visual C#, J#, Managed C++, Borland C# Builder, and Delphi.


Fully Documented

As important as functionality, features and stability are, comprehensive documentation is equally as important to the application developer. This is why the ComponentPro IMAP for .NET product includes a Developer's Guide and a complete Technical Reference which documents every property, method and event supported by the component. A printable version of the documentation is included with the product, as well as context-sensitive online help which can be accessed directly from within the development environment.


Many complete IMAP client samples in C#, VB.NET, and ASP.NET

In addition to the fully documented Developer's Guide and a complete Technical Reference, Ultimate IMAP component also includes a number of samples with full source code which help you become familiar with the features of the component and provide code which you can re-use in your own applications. The setup package contains three complete IMAP client applications: IMAP Console Client, IMAP WinForms Client, and IMAP WebForms Client.



ComponentPro understands today's software development requirements which often require support for multiple operating systems and different programming languages. As with all ComponentPro components, the product is licensed to a single developer, and applications built using the IMAP component can be redistributed to as many end-users as needed without additional royalties or runtime licensing fees. Developers are also permitted to install the product on different development systems as long as they are the only one using it and there is no chance that it can be used by more than one developer at the same time.



Your customer support is amazing. Detailed code examples and a friendly and helpful online documentation. Your components are amazing.
Brian Shackelford - Software Architect Municipal Technologies
We have recently purchased the Mail Expert Package. We found the company not only provides an easy-to-use component but also the documentation is good as we expected. It helped us lots in studying a new component and shortened our development time.
Brian Woodring - Project Manager Clear Channel Communications, Inc.

Next Steps