HomeCommunityControl GalleryMiscellaneousEmail.NET IMAP Component for C#,VB,ASP.NET

.NET IMAP Component for C#,VB,ASP.NET



Submit a Review

214 Downloads

4,822 Views


Description

NetXtremeImap is a powerful component which allows you to quickly and securely manage mail messages on a remote server using ImapClient class with a few lines of code. MIME is also supported by NetXtremeImap which allows you to read mail message from file (.eml extension) or stream, sign/verify, encrypt/decrypt, extracts mail message headers and bodies, retrieve attachments. Major Features: * Receive message list. * Download, upload, delete, copy messages. * Mark/unmark message flags. * Secure MIME (S/MIME) support. * Firewall and Proxy support. * SSL2, SSL3, PCT and TLS support. * X509 Certificate Management support. * Supports IPv6. * 100% managed code written in C#. * Fully documented and 8 Sample projects written in C#, VB.NET and ASP.NET.

Syntax Example

string serverName = "imap.gmail.com"; string user = "user@gmail.com"; string password = "password"; int port = 993; ImapSecurityMode mode = ImapSecurityMode.Implicit; ImapClient client = new ImapClient(); // Initialize security settings. TlsSslSecuritySettings sec = new TlsSslSecuritySettings(); sec.ServerName = serverName; sec.CertificateValidator = CertificateValidators.AcceptAllValidator; // Allows all suites. sec.Suites = TlsSslCipherSuite.All; // Supports SSL3.0 and TLS1.0. sec.ProtocolVersion = TlsSslProtocolVersionFlag.SSL30 | TlsSslProtocolVersionFlag.TLS10; Console.WriteLine("Connecting IMAP server: {0}:{1}...", serverName, port); // Connect to the server. client.Connect(serverName, port, sec, mode); // Login to the server. Console.WriteLine("Logging in as {0}...", user); client.Login(user, password); // You can select working folder, get message list,... here // ... // Disconnect. Console.WriteLine("Disconnecting..."); client.Disconnect();

Screenshots

Reviews

Submit a review