Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Mail.dll email component (IMAP, POP3, SMTP, MIME, SSL)
Mail.dll email component (IMAP, POP3, SMTP, MIME, SSL)

Mail.dll email component (IMAP, POP3, SMTP, MIME, SSL)

Limilabs

|
8,251 clicks
| (3) | Free Trial
IMAP component and POP3 component that allows you to receive emails and process email messages in .NET applications. Includes SMTP component for sending, along with email signing, encrypting and signature verification. Written entirely in managed code.
Get Started

IMAP component and POP3 component that allows you to receive emails and process/parse email messages in .NET applications. Includes SMTP component for sending, along with email signing, encrypting and signature verification. Written entirely in managed code. Works with .NET 2.0, 3.0, 3.5, 4.0 and 4.5+ including Mono. 

Features

  • IMAP component, POP3 component, SMTP component in a single package!
  • Best MIME parser on the market
  • Fully compatible with Microsoft Exchange, Office 365, Gmail, Dovecot, hMailServer and others
  • SSL and TLS support
  • Automatic email attachments encoding/decoding
  • S/MIME: sending signed emails, signed emails validation, encryption and decryption
  • DKIM emails validation and signing
  • iCalendar appointments and vCard support
  • TNEF support (decodes winmail.dat files)
  • Create attachments from a file or byte array
  • Proxy support: HTTP and Socks proxy (Socks5, Socks4, Socks4a)
  • IMAP IDLE: push email support for IMAP servers
  • Template engine support
  • Support for displaying emails in Windows applications
  • OAuth 2.0 for web sites (ASP.NET) and OAuth 2.0 for installed applications support
  • 2-legged OAuth and 3-legged OAuth support (including Gmail API helpers)
  • IMAP protocol Gmail extensions
  • Bounce handling
  • Bayesian spam filter (over 99.5% accuracy)
  • Build-in HTML to plain text converter
  • Outlook .msg files reading support.

Receiving and parsing emails from IMAP servers is really easy:

C#:

using(Imap imap = new Imap())  {      imap.Connect("imap.server.com");  // or ConnectSSL for SSL      imap.UseBestLogin("user", "password");        imap.SelectInbox();      List uids = imap.Search(Flag.Unseen);      foreach (long uid in uids)      {          IMail email = new MailBuilder()              .CreateFromEml(imap.GetMessageByUID(uid));          Console.WriteLine(email.Subject);      }      imap.Close();  } 

VB.NET:

Using imap As New Imap      imap.Connect("imap.server.com")  ' or ConnectSSL for SSL      imap.UseBestLogin("user", "password")        imap.SelectInbox()      Dim uidList As List(Of Long) = imap.Search(Flag.Unseen)        For Each uid As Long In uidList          Dim email As IMail = New MailBuilder() _              .CreateFromEml(imap.GetMessageByUID(uid))          Console.WriteLine(email.Subject)      Next      imap.Close()  End Using  

 

 Please visit https://www.limilabs.com/mail for more samples.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft