This repository contains an easy-to-use and well-documented .NET assembly for communicating with and
receiving electronic mail from an Internet Message Access Protocol (IMAP) server.
NOTE: THIS PROJECT HAS BEEN MOVED TO GITHUB. PLEASE GO HERE FOR THE LATEST VERSION
To use the library add the S22.Imap.dll assembly to your project references in Visual Studio. Here's
a simple example that initializes a new instance of the ImapClient class and connects to Gmail's
IMAP server:
using System;
using S22.Imap;
namespace Test {
class Program {
static void Main(string[] args) {
/* connect on port 993 using SSL */
using (ImapClient Client = new ImapClient("imap.gmail.com", 993, true))
{
Console.WriteLine("We are connected!");
}
}
}
}
Here are a couple of examples of how to use
the library. Please also see the documentation for
further details on using the classes and methods exposed by the S22.Imap namespace.
This library is copyright © 2012 Torben Könke.
Parts of this library are based on the AE.Net.Mail project (copyright © 2012 Andy Edinborough).
This library is released under the MIT license.
Please send your bug reports and questions to smileytwentytwo@gmail.com or create a new
issue on the GitHub project homepage.