IMAP component and POP3 component that allows you to receive e-mails and process e-mail messages in .NET applications. Includes SMTP component for sending, along with e-mail 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. Dedicated Mail For Windows Store version is also available.

Features

What folks are saying about Mail.dll

Quick start samples

    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(uid);
        
        IMail email = new MailBuilder()
            .CreateFromEml(eml);
        
        Console.WriteLine(email.Subject);
        
        imap.Close();
    }
    
You can find more samples here.

Our customers

Get Started Today