<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>InterIMAP Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/InterIMAP/Wiki/View.aspx?title=Home</link><description>InterIMAP Wiki Rss Description</description><item><title>New Comment on "Documentation"</title><link>http://interimap.codeplex.com/documentation?&amp;ANCHOR#C24624</link><description>To clear the errors and to be able to call all object listed in code above i needed to include this ones also&amp;#10;&amp;#10;using InterIMAP&amp;#59;&amp;#10;using InterIMAP.Asynchronous.Client&amp;#59;&amp;#10;using InterIMAP.Common.Requests&amp;#59;&amp;#10;using InterIMAP.Common.Interfaces&amp;#59;</description><author>Ronglath</author><pubDate>Sat, 04 Aug 2012 01:47:25 GMT</pubDate><guid isPermaLink="false">New Comment on "Documentation" 20120804014725A</guid></item><item><title>New Comment on "Documentation"</title><link>http://interimap.codeplex.com/documentation?&amp;ANCHOR#C24616</link><description>Try use the library &amp;#58; https&amp;#58;&amp;#47;&amp;#47;imapx.codeplex.com&amp;#47;&amp;#10;&amp;#10;That library free, open source and have example at this &amp;#58; https&amp;#58;&amp;#47;&amp;#47;imapx.codeplex.com&amp;#47;wikipage&amp;#63;title&amp;#61;Sample&amp;#37;20code&amp;#37;20for&amp;#37;20get&amp;#37;20messages&amp;#37;20from&amp;#37;20your&amp;#37;20inbox&amp;#10;&amp;#10;Good Luck &amp;#58;&amp;#41;</description><author>PACCBET</author><pubDate>Fri, 03 Aug 2012 08:17:27 GMT</pubDate><guid isPermaLink="false">New Comment on "Documentation" 20120803081727A</guid></item><item><title>New Comment on "Documentation"</title><link>http://interimap.codeplex.com/documentation?&amp;ANCHOR#C19616</link><description>Btw, I have added the client.Start&amp;#40;&amp;#41; to my code, and it still does not work.</description><author>mslot</author><pubDate>Fri, 13 May 2011 16:38:53 GMT</pubDate><guid isPermaLink="false">New Comment on "Documentation" 20110513043853P</guid></item><item><title>New Comment on "Documentation"</title><link>http://interimap.codeplex.com/documentation?&amp;ANCHOR#C19615</link><description>Why cant I get this code to work&amp;#63;&amp;#10;&amp;#10;       static void Main&amp;#40;&amp;#41;&amp;#10;        &amp;#123;&amp;#10;            IMAPConfig config &amp;#61; new IMAPConfig&amp;#40;&amp;#34;mail.myhost.tl&amp;#34;, &amp;#34;xxxx&amp;#64;xxx.xx&amp;#34;, &amp;#34;xxxxxx&amp;#34;, false, false, &amp;#34;&amp;#92;&amp;#34;&amp;#92;&amp;#34;&amp;#34;&amp;#41;&amp;#59;&amp;#10;            IMAPAsyncClient client &amp;#61; new IMAPAsyncClient&amp;#40;config, 5&amp;#41;&amp;#59;&amp;#10;            client.RequestManager.SubmitAndWait&amp;#40;new FolderTreeRequest&amp;#40;&amp;#34;&amp;#92;&amp;#34;&amp;#92;&amp;#34;&amp;#34;, FolderTreeCallback&amp;#41;, false&amp;#41;&amp;#59;&amp;#10;  &amp;#10;            NewMessagesRequest nmr &amp;#61; new NewMessagesRequest&amp;#40;client&amp;#41;&amp;#59;&amp;#10;            nmr.NewMessageRequestCompleted &amp;#43;&amp;#61; new NewMessagesRequest.NewMessageRequestCompletedHandler&amp;#40;nmr_NewMessageRequestCompleted&amp;#41;&amp;#59;&amp;#10;            &amp;#47;&amp;#47;nmr.Start&amp;#40;&amp;#41;&amp;#59; &amp;#47;&amp;#47; checks for new messages in all folders&amp;#10;            IFolder folder &amp;#61; client.MailboxManager.GetFolderByPath&amp;#40;&amp;#34;INBOX&amp;#34;&amp;#41;&amp;#59;&amp;#10;            nmr.Start&amp;#40;folder&amp;#41;&amp;#59; &amp;#47;&amp;#47; checks for new messages in the INBOX folder only &amp;#10;&amp;#125;&amp;#10;&amp;#10;        private static void FolderTreeCallback&amp;#40;IRequest req&amp;#41;&amp;#10;        &amp;#123;&amp;#10;            &amp;#47;&amp;#47; whatever logic you need to do to indicate the process has completed.&amp;#10;        &amp;#125;&amp;#10;&amp;#10;        static void nmr_NewMessageRequestCompleted&amp;#40;IMessage&amp;#91;&amp;#93; messages&amp;#41;&amp;#10;        &amp;#123;&amp;#10;            throw new NotImplementedException&amp;#40;&amp;#41;&amp;#59;&amp;#10;        &amp;#125;&amp;#10;&amp;#10;&amp;#63; The only thing I want this code to do is to throw an exception, but I do not get that exception. Can you tell me why, Jason&amp;#63; Or refer my to some examples that retrieve new messages.</description><author>mslot</author><pubDate>Fri, 13 May 2011 16:27:49 GMT</pubDate><guid isPermaLink="false">New Comment on "Documentation" 20110513042749P</guid></item><item><title>New Comment on "Documentation"</title><link>http://interimap.codeplex.com/documentation?&amp;ANCHOR#C16313</link><description>When I place this code, i have an error.&amp;#10;&amp;#10;There is error which is fixed&amp;#58; NewMessageRequest   , without S ,   NewMessageSRequest &amp;#10;&amp;#10;&amp;#10;I just want to pull new e-mails  and to read their sybject and body. And then to sign them read.&amp;#10;&amp;#10;&amp;#10;Can you please put code for that&amp;#63;&amp;#63;</description><author>dalibor</author><pubDate>Sat, 10 Jul 2010 19:50:37 GMT</pubDate><guid isPermaLink="false">New Comment on "Documentation" 20100710075037P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://interimap.codeplex.com/documentation?version=2</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Getting Started&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Using the InterIMAP library is pretty straight forward. Just add a reference to InterIMAP.dll in your project, and you are ready to go.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Connecting&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;using InterIMAP; 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
IMAPConfig config = new IMAPConfig(&amp;quot;server&amp;quot;,&amp;quot;username&amp;quot;,&amp;quot;password&amp;quot;, ssl (true | false), autlogin (true | false), &amp;quot;initial folder&amp;quot;);
IMAPAsyncClient client = new IMAPAsyncClient(config, 5); // 5 represents the number of worker connections to create. Depending on your bandwidth this number might need to be adjusted for optimal performance
client.Start();
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The client is now connected and awaiting requests. The first request that should be done is the &lt;span class="codeInline"&gt;FolderTreeRequest&lt;/span&gt;. This request will retrieve the list of folders in the account and generate the necessary &lt;span class="codeInline"&gt;IFolder&lt;/span&gt;s for them. This is accomplished by executing this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
client.RequestManager.SubmitRequest(new FolderTreeRequest(&amp;quot;\&amp;quot;\&amp;quot;&amp;quot;, FolderTreeCallback), false);

private void FolderTreeCallback(IRequest req)
{
    // whatever logic you need to do to indicate the process has completed.
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;An alternative to using .SubmitRequest is to use SubmitAndWait, which will block the calling thread while the request executes. Be careful when using this method in applications that have a user interface as this will prevent the user from interacting with anything while the request is running.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Getting Messages&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Once you have the folder tree populated, the next step is to execute the &lt;span class="codeInline"&gt;PopulateFolderData&lt;/span&gt; method which examines each folder and determines how many messages it contains and stores each message&amp;#39;s UID. Once this is done, you are ready to start pulling down messages and examining their contents.&lt;br /&gt;&lt;br /&gt;The most common operation is checking for new messages, which can easily be accomplished using the &lt;span class="codeInline"&gt;NewMessageRequest&lt;/span&gt; object like this:&lt;br /&gt;&lt;pre&gt;
NewMessageRequest nmr = new NewMessageRequest(client);
nmr.NewMessageRequestCompleted += new NewMessageRequestCompletedHandler(new_messages);
nmr.Start(); // checks for new messages in all folders
IFolder folder = client.MailboxManager.GetFolderByPath(&amp;quot;INBOX&amp;quot;);
nmr.Start(folder); // checks for new messages in the INBOX folder only

private void new_messages(IMessage[] msgs)
{
    // do what you need to do here
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 20:00:18 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20100405080018P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://interimap.codeplex.com/documentation?version=1</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Getting Started&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Using the InterIMAP library is pretty straight forward. Just add a reference to InterIMAP.dll in your project, and you are ready to go.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Connecting&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;using InterIMAP; 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
IMAPConfig config = new IMAPConfig(&amp;quot;server&amp;quot;,&amp;quot;username&amp;quot;,&amp;quot;password&amp;quot;, ssl (true | false), autlogin (true | false), &amp;quot;initial folder&amp;quot;);
IMAPAsyncClient client = new IMAPAsyncClient(config, 5); // 5 represents the number of worker connections to create. Depending on your bandwidth this number might need to be adjusted for optimal performance
client.Start();
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The client is now connected and awaiting requests. The first request that should be done is the &lt;span class="codeInline"&gt;FolderTreeRequest&lt;/span&gt;. This request will retrieve the list of folders in the account and generate the necessary &lt;span class="codeInline"&gt;IFolder&lt;/span&gt;s for them. This is accomplished by executing this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
client.RequestManager.SubmitRequest(new FolderTreeRequest(&amp;quot;\&amp;quot;\&amp;quot;&amp;quot;, FolderTreeCallback), false);

private void FolderTreeCallback(IRequest req)
{
    // whatever logic you need to do to indicate the process has completed.
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;An alternative to using .SubmitRequest is to use SubmitAndWait&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 19:02:27 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20100405070227P</guid></item><item><title>Updated Wiki: Home</title><link>http://interimap.codeplex.com/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;
Intro
&lt;/h1&gt;InterIMAP is an IMAP client library written in C# targeting the .NET 2.0 framework. It originally started off as an article written by Rohit Joshi which can be found here: &lt;a href="http://www.codeproject.com/KB/IP/imaplibrary.aspx?msg=2498332" class="externalLink"&gt;http://www.codeproject.com/KB/IP/imaplibrary.aspx?msg=2498332&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Features
&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;Complete Asynchronous communications with configurable number of connections&lt;/li&gt;&lt;li&gt;Caching of folder and message data for offline viewing (coming soon)&lt;/li&gt;&lt;li&gt;Save message as EML file (coming soon)&lt;/li&gt;&lt;li&gt;Save message as XML file (coming soon)&lt;/li&gt;&lt;li&gt;Ability to download raw message data (coming soon)&lt;/li&gt;&lt;li&gt;Create/Delete Folders (coming soon)&lt;/li&gt;&lt;li&gt;Delete Messages&lt;/li&gt;&lt;li&gt;Easily check for new messages&lt;/li&gt;&lt;li&gt;Mark as message new/read&lt;/li&gt;&lt;li&gt;Copy/Move messages (coming soon)&lt;/li&gt;&lt;li&gt;Ability to submit requests synchronously if required (will block calling thread until request is complete)&lt;/li&gt;&lt;li&gt;Solution includes these sample/test projects:&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;WinForms Test App&lt;/li&gt;&lt;li&gt;IMAPShell - Console based interactive 'shell' style program for interacting with the IMAP server&lt;/li&gt;&lt;li&gt;WinForms Configuration Editor&lt;/li&gt;&lt;li&gt;Console Test (deprecated)&lt;/li&gt;&lt;li&gt;Console config generator (deprecated)&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>JasonMiesionczek</author><pubDate>Thu, 12 Mar 2009 17:51:15 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090312055115P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/InterIMAP/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;InterIMAP is a IMAP client library written in C&amp;#35; for .NET 2.0. Current features include&amp;#58; Support for SSL connections, listing folder contents, complete object model, exporting folder lists and messages as XML.&lt;br /&gt;&lt;br /&gt;The original code was written by Rohit Joshi and can be found, along with an article describing it here&amp;#58; http&amp;#58;&amp;#47;&amp;#47;www.codeproject.com&amp;#47;KB&amp;#47;IP&amp;#47;imaplibrary.aspx&amp;#63;msg&amp;#61;2498332&lt;br /&gt;&lt;br /&gt;This project aims to extend Rohit&amp;#39;s original work that he cannot maintain any longer. 
&lt;br /&gt;
&lt;/div&gt;</description><author>JasonMiesionczek</author><pubDate>Fri, 11 Apr 2008 10:35:16 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080411103516A</guid></item></channel></rss>