Menu

Tree [49de3b] master /
 History

HTTPS access


File Date Author Commit
 Bodystructure 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 Properties 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 AuthMethod.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 Examples.md 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 Examples.xml 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 Exceptions.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 FetchOptions.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 IdleEvents.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 ImapClient.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 License.md 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 MIMEPart.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 MailMessage.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 MailboxQuota.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 MailboxStatus.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 MessageBuilder.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 MessageFlags.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 MessageReader.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 Readme.md 2012-09-08 smiley22 smiley22 [49de3b] Notifier
 S22.Imap.csproj 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 S22.Imap.sln 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 SafeQueue.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 SearchCondition.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit
 Util.cs 2012-09-08 smiley22 smiley22 [84a716] Initial commit

Read Me

Introduction

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

Usage & Examples

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.

Features

  • Supports IMAP IDLE notifications
  • Supports IMAP over SSL
  • API designed to be very easy to use
  • Allows selectively fetching parts of mail messages
  • Inherently thread-safe
  • Well documented with lots of example code
  • Free to use in commercial and personal projects (MIT license)

Credits

This library is copyright © 2012 Torben Könke.

Parts of this library are based on the AE.Net.Mail project (copyright © 2012 Andy Edinborough).

License

This library is released under the MIT license.

Bug reports

Please send your bug reports and questions to smileytwentytwo@gmail.com or create a new
issue on the GitHub project homepage.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.