Mail.dll - POP3 .NET component
Elevate the capabilities of your .NET applications in C# and VB.NET with the robust POP3 .NET client component seamlessly integrated into Mail.dll's cutting-edge email toolkit.
Effortlessly receive and manage emails using the POP3 protocol, featuring advanced functionalities such as signature verification and decryption. Our POP3 client is meticulously crafted in managed code, guaranteeing superior performance.
Designed to seamlessly integrate with various frameworks, including .NET 2.0-4.7.2, .NET 4.8, Mono, .NET Core 2.0+, .NET Standard 2.0+, .NET 5.0, .NET 6.0, .NET 7.0, and .NET 8.0. Streamline and enhance your email capabilities effortlessly with Mail.dll's POP3 client component for an optimal user experience.
Features
- UNIQUE Complete POP3 client plus IMAP and SMTP clients in a single library.
- UNIQUE Email component includes most reliable MIME parser on the market
- Fully compatible with all POP3 servers:
Microsoft Exchange, Office 365, Gmail, Dovecot, hMailServer and others - POP3 SSL/TLS support
- TLS 1.2 support
- Automatic email attachment encoding/decoding
- S/MIME: POP3 received signed emails validation, POP3 received emails decryption
- UNIQUE Received DKIM emails validation
- UNIQUE iCalendar appointments and vCard support
- TNEF support (decodes winmail.dat files)
- Proxy support: POP3 over HTTP and Socks proxy (Socks5, Socks4, Socks4a)
- Secure login (APOP, CRAM-MD5, DIGEST-MD5 support)
- Bounce handling for emails received with POP3
- Bayesian spam filter (over 99.5% accuracy)
- UNIQUE Build-in HTML email to plain text emails converter
What folks are saying about POP3 in Mail.dll
Just bought a license. Mail.dll is an absolutely fantastic POP3 library. I would recommend it to anyone who needs to send or receive emails from .NET applications
Well, after discovering your dll it only took a few hours to implement full POP3 support. I will not use anything but your dll.
I’ve installed 4 or so other email components from other vendors, played with each of them to see how easy they are to work with, and yours was up and running quicker, easier, and better than all the others.
Quick start .NET samples
Receive emails using IMAP in .NET
using(Imap imap = new Imap()) { imap.ConnectSSL("imap.server.com"); imap.UseBestLogin("user", "pass"); imap.SelectInbox(); List<long> uids = imap.Search( Flag.Unseen); long first = uids[0]; byte[] eml = imap .GetMessageByUID(first); IMail email = new MailBuilder() .CreateFromEml(eml); string subject = email.Subject; imap.Close(); }
Receive emails using POP3 in .NET
using(Pop3 pop3 = new Pop3()) { pop3.ConnectSSL("imap.server.com"); pop3.UseBestLogin("user", "pass"); List<long> uids = pop3.GetAll(); long first = uids[0]; byte[] eml = pop3 .GetMessageByUID(first); IMail email = new MailBuilder() .CreateFromEml(eml); string subject = email.Subject; pop3.Close(); }You can find more samples here.
-
Receive emails using IMAP with C# .NET client
-
Receive emails using POP3 with C# .NET client
using(Pop3 pop3 = new Pop3()) { pop3.ConnectSSL("pop3.server.com"); // or Connect for non SSL/TLS pop3.UseBestLogin("user", "password"); List<string> uids = pop3.GetAll(); foreach (string uid in uids) { IMail email = new MailBuilder() .CreateFromEml(pop3.GetMessageByUID(uid)); string subject = email.Subject; } pop3.Close(); }
-
Send emails using SMTP with C# .NET client
-
Receive emails using POP3 with VB.NET client
-
Receive emails using POP3 with VB.NET client
Using pop3 As New Pop3 pop3.ConnectSSL("pop3.server.com") ' or Connect for non SSL/TLS pop3.UseBestLogin("user", "password") For Each uid As String In pop3.GetAll() Dim email As IMail = New MailBuilder() _ .CreateFromEml(pop3.GetMessageByUID(uid)) Dim subject As String = email.Subject Next pop3.Close() End Using
-
Send emails using SMTP with VB.NET client