<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>InterIMAP Work Item Rss Feed</title><link>http://www.codeplex.com/InterIMAP/WorkItem/List.aspx</link><description>InterIMAP Work Item Rss Description</description><item><title>Created Issue: Exchange 2010 IMAP [7979]</title><link>http://interimap.codeplex.com/workitem/7979</link><description>When connection on a exchange server 2010 i get the following IMAP exception.&lt;br /&gt;&lt;br /&gt;InterIMAP.IMAPException&amp;#58; Error in the Application.&lt;br /&gt;   bei InterIMAP.IMAPBase.SendAndReceive&amp;#40;String command, ArrayList&amp;#38; sResultArray&amp;#41;&lt;br /&gt;   bei InterIMAP.IMAP.ProcessFolders&amp;#40;String rootFolder&amp;#41;&lt;br /&gt;   bei InterIMAP.IMAPClient.Logon&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Worked with other Exchange Versions over IMAP without any problem.&lt;br /&gt;I can access the mailbox over outlook perfectly.&lt;br /&gt;</description><author>SearchForTheCode</author><pubDate>Tue, 25 Jan 2011 10:58:02 GMT</pubDate><guid isPermaLink="false">Created Issue: Exchange 2010 IMAP [7979] 20110125105802A</guid></item><item><title>Created Issue: Attachment problem [7766]</title><link>http://interimap.codeplex.com/workitem/7766</link><description>My attachments are not detected on the server. After some hacking the proper body parts are recognized, but the filename is missing. I can create a test account if requested. The server uses dovecot.&lt;br /&gt;</description><author>pdfforge</author><pubDate>Mon, 13 Dec 2010 23:09:13 GMT</pubDate><guid isPermaLink="false">Created Issue: Attachment problem [7766] 20101213110913P</guid></item><item><title>Commented Issue: IMAPConnection Infinite Loop [6307]</title><link>http://interimap.codeplex.com/workitem/6307</link><description>There is a major bug in the IMAPConnection Class.&lt;br /&gt;Since the ReadLine Method ignores the IOException, the ExecuteCommand Method can end up stuck in an infinite loop filling up the memory.&lt;br /&gt;&lt;br /&gt;If the connection is lost, the ReadLine Method always returns an Empty String, resulting in the ExecuteCommand looping infinite and filling up the memory by adding empty strings to the resultArray.&lt;br /&gt;Comments: ** Comment from web user: garnerbri ** &lt;p&gt;Attached is a fix that makes the app crash instead of hang, which is better but not ideal. The issue still needs a better resolution. The attached changes cause a crash in our app instead of a hang, as well as some other minor changes.&lt;/p&gt;</description><author>garnerbri</author><pubDate>Tue, 08 Jun 2010 02:07:30 GMT</pubDate><guid isPermaLink="false">Commented Issue: IMAPConnection Infinite Loop [6307] 20100608020730A</guid></item><item><title>Created Issue: IMAPConnection Infinite Loop [6307]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=6307</link><description>There is a major bug in the IMAPConnection Class.&lt;br /&gt;Since the ReadLine Method ignores the IOException, the ExecuteCommand Method can end up stuck in an infinite loop filling up the memory.&lt;br /&gt;&lt;br /&gt;If the connection is lost, the ReadLine Method always returns an Empty String, resulting in the ExecuteCommand looping infinite and filling up the memory by adding empty strings to the resultArray.&lt;br /&gt;</description><author>nvollmar</author><pubDate>Mon, 31 May 2010 06:46:00 GMT</pubDate><guid isPermaLink="false">Created Issue: IMAPConnection Infinite Loop [6307] 20100531064600A</guid></item><item><title>Created Issue: MessageStructureProcessor.ProcessResult() throws an exception when processing a "* 3 FETCH (FLAGS (\\Seen))" result. [5905]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5905</link><description>I occasionally receive an ArgumentOutOfRangeException in InterIMAP.Common.Processors.MessageStructureProcessor.ProcessResult&amp;#40;&amp;#41; when using a FullMessageRequest instance to download a message.  I am using Revision 43840.&lt;br /&gt;&lt;br /&gt;The exception occurs when looping over CmdResult.Results.  The exception occurs when when the message being downloaded includes the following entry in the CmdResult.Results property&amp;#58;&lt;br /&gt;&lt;br /&gt;     &amp;#34;&amp;#42; 3 FETCH &amp;#40;FLAGS &amp;#40;&amp;#92;&amp;#92;Seen&amp;#41;&amp;#41;&amp;#34;&lt;br /&gt;&lt;br /&gt;The ProcessResult&amp;#40;&amp;#41; method assumes that all CmdResult.Results entries will contain the text &amp;#34;BODYSTRUCTURE&amp;#34; which in this case it doesn&amp;#39;t.  I&amp;#39;m not yet familiar enough with the code, or the IMAP protocol, to write my own patch -- I&amp;#39;m not sure what the correct way to handle this situation is.&lt;br /&gt;</description><author>GreenLeaf</author><pubDate>Fri, 30 Apr 2010 20:52:08 GMT</pubDate><guid isPermaLink="false">Created Issue: MessageStructureProcessor.ProcessResult() throws an exception when processing a "* 3 FETCH (FLAGS (\\Seen))" result. [5905] 20100430085208P</guid></item><item><title>Created Issue: Date not being parsed correctly. Resulting in Null Date for IMAPMessage [5787]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5787</link><description>Jason,&lt;br /&gt;&lt;br /&gt;I have isolated a consistent email that causes this error. The date field in IMAPMessage also equates to Null &amp;#123;_date &amp;#61; &amp;#123;01&amp;#47;01&amp;#47;0001 00&amp;#58;00&amp;#58;00&amp;#125; when I receive messages from Capital One.&lt;br /&gt;I&amp;#39;ve included the raw header below for your reference.&lt;br /&gt;&lt;br /&gt;Connor&lt;br /&gt;&lt;br /&gt;Delivered-To&amp;#58; XXX&amp;#64;gmail.com&lt;br /&gt;Received&amp;#58; by 10.204.32.143 with SMTP id c15cs100995bkd&amp;#59;&lt;br /&gt;        Mon, 12 Apr 2010 05&amp;#58;42&amp;#58;43 -0700 &amp;#40;PDT&amp;#41;&lt;br /&gt;Received&amp;#58; by 10.223.143.67 with SMTP id t3mr2643652fau.16.1271076162051&amp;#59;&lt;br /&gt;        Mon, 12 Apr 2010 05&amp;#58;42&amp;#58;42 -0700 &amp;#40;PDT&amp;#41;&lt;br /&gt;Return-Path&amp;#58; &amp;#60;1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa&amp;#64;email.capitalone.com&amp;#62;&lt;br /&gt;Received&amp;#58; from bigfootinteractive.com &amp;#40;arm-ei65.bigfootinteractive.com &amp;#91;216.33.63.65&amp;#93;&amp;#41;&lt;br /&gt;        by mx.google.com with SMTP id 1si8334427fkt.11.2010.04.12.05.42.36&amp;#59;&lt;br /&gt;        Mon, 12 Apr 2010 05&amp;#58;42&amp;#58;41 -0700 &amp;#40;PDT&amp;#41;&lt;br /&gt;Received-SPF&amp;#58; pass &amp;#40;google.com&amp;#58; domain of 1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa&amp;#64;email.capitalone.com designates 216.33.63.65 as permitted sender&amp;#41; client-ip&amp;#61;216.33.63.65&amp;#59;&lt;br /&gt;Authentication-Results&amp;#58; mx.google.com&amp;#59; spf&amp;#61;pass &amp;#40;google.com&amp;#58; domain of 1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa&amp;#64;email.capitalone.com designates 216.33.63.65 as permitted sender&amp;#41; smtp.mail&amp;#61;1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa&amp;#64;email.capitalone.com&amp;#59; dkim&amp;#61;pass header.i&amp;#61;&amp;#64;email.capitalone.com&lt;br /&gt;DKIM-Signature&amp;#58; v&amp;#61;1&amp;#59; a&amp;#61;rsa-sha1&amp;#59; c&amp;#61;relaxed&amp;#47;relaxed&amp;#59; d&amp;#61;email.capitalone.com&amp;#59;&lt;br /&gt;&amp;#9;s&amp;#61;ei&amp;#59; t&amp;#61;1271075908&amp;#59; bh&amp;#61;8mvgOj8ZRXaLeyJ1iZkTeC8judo&amp;#61;&amp;#59; h&amp;#61;From&amp;#58;Subject&amp;#58;&lt;br /&gt;&amp;#9; To&amp;#59; b&amp;#61;Qd1Yi4JDkCBbObZtD0GkBPWRRpv7ekF&amp;#47;wK&amp;#43;PQnGRvnnL2&amp;#43;MC1Tw&amp;#47;c2Uo1RcE&lt;br /&gt;&amp;#9;v65SyRE1FxigfqRChyYSsS&amp;#47;sjVzVzUDkA&amp;#43;esUV2fk0b9CcQf&amp;#43;&amp;#43;sP9qc6UxI0Aip42gR&lt;br /&gt;&amp;#9;CF3COvgqLVQWQkaaWTGLCBHU&amp;#43;wsaGxwnnBU4&amp;#47;jjQSS9c&amp;#61;&lt;br /&gt;DomainKey-Signature&amp;#58; a&amp;#61;rsa-sha1&amp;#59; q&amp;#61;dns&amp;#59; c&amp;#61;nofws&amp;#59;&lt;br /&gt;  s&amp;#61;bfi&amp;#59; d&amp;#61;email.capitalone.com&amp;#59;&lt;br /&gt;  b&amp;#61;COt3U8alm&amp;#47;63h5ryTf4&amp;#43;ilPqgxwAGPugEmvaSbDebw9&amp;#47;Jlp2ZFclpHhy3EbeBb9T&amp;#59;&lt;br /&gt;Reply-To&amp;#58; &amp;#34;capitalone&amp;#34; &amp;#60;1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa&amp;#64;email.capitalone.com&amp;#62;&lt;br /&gt;Bounces_to&amp;#58; capitalone.1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa&amp;#64;email.capitalone.com&lt;br /&gt;Message-ID&amp;#58; &amp;#60;1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa.6399.27544.pimailer53.DumpShot.1&amp;#64;email.capitalone.com&amp;#62;&lt;br /&gt;X-SS&amp;#58; 1-1-9250280-518933058&lt;br /&gt;X-BFI&amp;#58; 1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa&lt;br /&gt;Date&amp;#58; Mon, 12 Apr 2010 08&amp;#58;38&amp;#58;28 EDT&lt;br /&gt;From&amp;#58; Capital One &amp;#60;capitalone&amp;#64;email.capitalone.com&amp;#62;&lt;br /&gt;Subject&amp;#58; XXX, here&amp;#39;s your April rewards update&lt;br /&gt;To&amp;#58; XXX&amp;#64;gmail.com&lt;br /&gt;MIME-Version&amp;#58; 1.0&lt;br /&gt;Content-Type&amp;#58; multipart&amp;#47;alternative&amp;#59;&lt;br /&gt;  boundary&amp;#61;&amp;#34;ABCD-1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa-EFGH&amp;#34;&lt;br /&gt;&lt;br /&gt;--ABCD-1ad488872layfivciaqq2alaaaaaabtalkwmbcwx5tqyaaaaa-EFGH&lt;br /&gt;Content-Type&amp;#58; text&amp;#47;plain&amp;#59; charset&amp;#61;us-ascii&lt;br /&gt;Content-Transfer-Encoding&amp;#58; quoted-printable&lt;br /&gt;</description><author>connormurphy</author><pubDate>Thu, 15 Apr 2010 10:06:02 GMT</pubDate><guid isPermaLink="false">Created Issue: Date not being parsed correctly. Resulting in Null Date for IMAPMessage [5787] 20100415100602A</guid></item><item><title>Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5210</link><description>Some email addresses are not being parsed correctly in the TO, CC, BCC collections.&lt;br /&gt;&lt;br /&gt; In one example the parser cannot break up the 3 addresses on the TO field.&lt;br /&gt; The parsed message returns 1 email address rather than the expected 3 in the TO field collection. The actual result looks like am address string &amp;#61; &amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39; and display name &amp;#61;  &amp;#60;&amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39;&amp;#62;. Another side effect is that it also returns an empty email address in the BCC collection.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure what the root cause is yet, but I suggest that the Parser checks to ensure that only one &amp;#64; can exist in an email address. Equally an error should be handled when an email address is empty of poorly formated.&lt;br /&gt;Comments: ** Comment from web user: connormurphy ** &lt;p&gt;Hi Jason,&lt;/p&gt;&lt;p&gt;Here is how I&amp;#39;m currently trying to connect. It sort of works... but I get some very inconsistent behaviours and the afterdate filter does not appear to work correctly as it usually returns a collection of Null messages. Could you give an example of how to do this correctly using async&amp;#63; This would be really appreciated&lt;/p&gt;&lt;p&gt;Connor&lt;/p&gt;&lt;p&gt;        public IMAPMessageCollection getMessages&amp;#40;EmailLogin emailLogin&amp;#41;&lt;br /&gt;        &amp;#123;              &lt;br /&gt;            IMAPConfig config &amp;#61; new IMAPConfig&amp;#40;&amp;#34;imap.gmail.com&amp;#34;, emailLogin.Username, emailLogin.Password, true, true, &amp;#34;&amp;#34;&amp;#41;&amp;#59;        &lt;br /&gt;            IMAPClient client &amp;#61; null&amp;#59;&lt;br /&gt;            client &amp;#61; GetClient&amp;#40;config, client&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;            IMAPMessageCollection collection &amp;#61; new IMAPMessageCollection&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            IMAPSearchQuery query &amp;#61; new IMAPSearchQuery&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            query.AfterDate &amp;#61; emailLogin.LastUpdated.AddMilliseconds&amp;#40;1&amp;#41;.ToString&amp;#40;&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;            IMAPFolder InboxFolder &amp;#61; client.GetSingleFolder&amp;#40;&amp;#34;INBOX&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            IMAPFolder SentFolder &amp;#61; client.GetSingleFolder&amp;#40;&amp;#34;&amp;#91;Gmail&amp;#93;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            IMAPFolder SentSubFolder &amp;#61; SentFolder.SubFolders&amp;#91;&amp;#34;Sent Mail&amp;#34;&amp;#93;&amp;#59;&lt;/p&gt;&lt;p&gt;            collection.AddRange&amp;#40;InboxFolder.Search&amp;#40;query&amp;#41;.Messages&amp;#41;&amp;#59;&lt;br /&gt;            collection.AddRange&amp;#40;SentSubFolder.Search&amp;#40;query&amp;#41;.Messages&amp;#41;&amp;#59;&lt;br /&gt;           &lt;br /&gt;            return collection&amp;#59;&lt;br /&gt;        &amp;#125;&lt;/p&gt;</description><author>connormurphy</author><pubDate>Tue, 13 Apr 2010 09:50:31 GMT</pubDate><guid isPermaLink="false">Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210] 20100413095031A</guid></item><item><title>Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5210</link><description>Some email addresses are not being parsed correctly in the TO, CC, BCC collections.&lt;br /&gt;&lt;br /&gt; In one example the parser cannot break up the 3 addresses on the TO field.&lt;br /&gt; The parsed message returns 1 email address rather than the expected 3 in the TO field collection. The actual result looks like am address string &amp;#61; &amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39; and display name &amp;#61;  &amp;#60;&amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39;&amp;#62;. Another side effect is that it also returns an empty email address in the BCC collection.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure what the root cause is yet, but I suggest that the Parser checks to ensure that only one &amp;#64; can exist in an email address. Equally an error should be handled when an email address is empty of poorly formated.&lt;br /&gt;Comments: ** Comment from web user: connormurphy ** &lt;p&gt;Hi Jason,&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to reproduce it right now but I&amp;#39;m having difficulties connecting to Gmail using the newer Async methods.&lt;br /&gt;Could you post an end to end example where a user would connect to Gmail, and return a collection of messages for the Inbox and Sent sub folder.&lt;br /&gt;The example would also need to have a query that limited the search using an &amp;#39;after date&amp;#39; i.e. get me all emails since date X&lt;/p&gt;&lt;p&gt;Once I get that up and working I will be able to send on the specific To,CC, and BCC texts. I&amp;#39;ve also had bugs around the date format as the odd email data returns null.&lt;/p&gt;&lt;p&gt;Thanks again,&lt;br /&gt;Connor&lt;/p&gt;</description><author>connormurphy</author><pubDate>Mon, 12 Apr 2010 16:13:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210] 20100412041345P</guid></item><item><title>Closed Issue: misspelling code. [5700]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5700</link><description>Very small bug, but I noticed in the IMAPConfig.cs line&amp;#58; 200 the param being passed in for password is spelled passowrd, instead of password.&lt;br /&gt;Comments: &lt;p&gt;Thanks for point that out. Parameter name has been updated and will be available in the next build.&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Wed, 07 Apr 2010 18:42:32 GMT</pubDate><guid isPermaLink="false">Closed Issue: misspelling code. [5700] 20100407064232P</guid></item><item><title>Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5210</link><description>Some email addresses are not being parsed correctly in the TO, CC, BCC collections.&lt;br /&gt;&lt;br /&gt; In one example the parser cannot break up the 3 addresses on the TO field.&lt;br /&gt; The parsed message returns 1 email address rather than the expected 3 in the TO field collection. The actual result looks like am address string &amp;#61; &amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39; and display name &amp;#61;  &amp;#60;&amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39;&amp;#62;. Another side effect is that it also returns an empty email address in the BCC collection.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure what the root cause is yet, but I suggest that the Parser checks to ensure that only one &amp;#64; can exist in an email address. Equally an error should be handled when an email address is empty of poorly formated.&lt;br /&gt;Comments: ** Comment from web user: JasonMiesionczek ** &lt;p&gt;Yeah, the Async client is currently the only supported client.&lt;/p&gt;&lt;p&gt;In regards to your original issue, would you be able to provide the actual text that is returned by the server for the TO, CC, and BCC fields&amp;#63; i would like to see how it looks and make the necessary adjustments to account for this variance. &lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;&lt;p&gt;P.S. I will be adding some more documentation within the next few days as time permits. Is there any specific topic you would like me to cover&amp;#63;&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Wed, 07 Apr 2010 18:39:41 GMT</pubDate><guid isPermaLink="false">Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210] 20100407063941P</guid></item><item><title>Created Issue: misspelling code. [5700]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5700</link><description>Very small bug, but I noticed in the IMAPConfig.cs line&amp;#58; 200 the param being passed in for password is spelled passowrd, instead of password.&lt;br /&gt;</description><author>jtstroup</author><pubDate>Wed, 07 Apr 2010 17:51:46 GMT</pubDate><guid isPermaLink="false">Created Issue: misspelling code. [5700] 20100407055146P</guid></item><item><title>Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5210</link><description>Some email addresses are not being parsed correctly in the TO, CC, BCC collections.&lt;br /&gt;&lt;br /&gt; In one example the parser cannot break up the 3 addresses on the TO field.&lt;br /&gt; The parsed message returns 1 email address rather than the expected 3 in the TO field collection. The actual result looks like am address string &amp;#61; &amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39; and display name &amp;#61;  &amp;#60;&amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39;&amp;#62;. Another side effect is that it also returns an empty email address in the BCC collection.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure what the root cause is yet, but I suggest that the Parser checks to ensure that only one &amp;#64; can exist in an email address. Equally an error should be handled when an email address is empty of poorly formated.&lt;br /&gt;Comments: ** Comment from web user: connormurphy ** &lt;p&gt;Hi Jason,&lt;/p&gt;&lt;p&gt;I&amp;#39;m using Async. Is that the best version to use&amp;#63; I presumed this was the most up to date version of the code.&lt;br /&gt;Also do you think there will be anymore documentation soon. I&amp;#39;m struggling to find good async examples and I don&amp;#39;t want to change libraries &amp;#58;&amp;#41;&lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;Connor&lt;/p&gt;</description><author>connormurphy</author><pubDate>Tue, 06 Apr 2010 16:31:38 GMT</pubDate><guid isPermaLink="false">Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210] 20100406043138P</guid></item><item><title>Closed Issue: CreateFolder - _client not instantiated [2181]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=2181</link><description>Trying to do some more advanced InterIMAP stuff, I ran into the following issue&amp;#58;&lt;br /&gt;&lt;br /&gt;I create a new folder &amp;#40;folderX&amp;#41; using client.CreateFolder.&lt;br /&gt;&lt;br /&gt;Then I want to add 2 subfolders to that but I get an error&amp;#58;&lt;br /&gt;&lt;br /&gt;IMAPClient client &amp;#61; new IMAPClient&amp;#40;config, null, 5&amp;#41;&amp;#59;&lt;br /&gt;client.CreateFolder&amp;#40;&amp;#34;FolderX&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#47;&amp;#47;this fails because IMAPFolder._client is not instantiated&amp;#58;&lt;br /&gt;client.Folders&amp;#91;&amp;#34;FolderX&amp;#34;&amp;#93;.CreateFolder&amp;#40;&amp;#34;Processed&amp;#34;, false&amp;#41;&amp;#59;&lt;br /&gt;client.Folders&amp;#91;&amp;#34;FolderX&amp;#34;&amp;#93;.CreateFolder&amp;#40;&amp;#34;Unknown&amp;#34;, false&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;it fails because the _client property of the new folder FolderX is null while it should point to client &amp;#40;as fas as I could figure out&amp;#41;&lt;br /&gt;&lt;br /&gt;I updated the code in IMAPClient to this and now it works for me&amp;#58;&lt;br /&gt;&lt;br /&gt;public void CreateFolder&amp;#40;string name&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;OfflineMode&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                Log&amp;#40;IMAPBase.LogTypeEnum.WARN, &amp;#34;Cannot create folders in offline mode.&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;                return&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;           &lt;br /&gt;            string cmd &amp;#61; &amp;#34;CREATE &amp;#92;&amp;#34;&amp;#123;0&amp;#125;&amp;#92;&amp;#34;&amp;#92;r&amp;#92;n&amp;#34;&amp;#59;&lt;br /&gt;            ArrayList result &amp;#61; new ArrayList&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            string newFolder &amp;#61; String.Format&amp;#40;&amp;#34;&amp;#123;0&amp;#125;&amp;#34;, name&amp;#41;&amp;#59;&lt;br /&gt;            _imap.SendAndReceive&amp;#40;String.Format&amp;#40;cmd, newFolder&amp;#41;, ref result&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;result&amp;#91;0&amp;#93;.ToString&amp;#40;&amp;#41;.Contains&amp;#40;&amp;#34;OK&amp;#34;&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                IMAPFolder oNewFolder &amp;#61; new IMAPFolder&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                oNewFolder.FolderName &amp;#61; name&amp;#59;&lt;br /&gt;                oNewFolder.FolderPath &amp;#61; newFolder&amp;#59;&lt;br /&gt;                oNewFolder.ParentFolder &amp;#61; null&amp;#59;&lt;br /&gt;                oNewFolder.ParentFolderName &amp;#61; String.Empty&amp;#59;&lt;br /&gt;&lt;br /&gt;                &amp;#47;&amp;#47;MODIFIED&amp;#58;&lt;br /&gt;                oNewFolder.SetClient&amp;#40;this&amp;#41;&amp;#59;&lt;br /&gt;                &amp;#47;&amp;#47;END MODIFICATION&lt;br /&gt;&lt;br /&gt;                _folders.Add&amp;#40;oNewFolder&amp;#41;&amp;#59;&lt;br /&gt;                UpdateCache&amp;#40;true&amp;#41;&amp;#59;&lt;br /&gt;                Log&amp;#40;IMAPBase.LogTypeEnum.INFO, String.Format&amp;#40;&amp;#34;Folder &amp;#123;0&amp;#125; created successfully.&amp;#34;, name&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            else&lt;br /&gt;            &amp;#123;&lt;br /&gt;                _imap.Log&amp;#40;IMAPBase.LogTypeEnum.ERROR, &amp;#34;Folder could not be created &amp;#40;&amp;#34; &amp;#43; result&amp;#91;0&amp;#93;.ToString&amp;#40;&amp;#41;&amp;#43;&amp;#34;&amp;#41;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and in the IMAPFolder.CreateFolder version&amp;#58;&lt;br /&gt;&lt;br /&gt;if &amp;#40;this._client &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;     oNewFolder.SetClient&amp;#40;this._client&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Is this a real bug or did I use the library in a way I shouldn&amp;#39;t use it&amp;#63;&lt;br /&gt;Comments: &lt;p&gt;This issue relates to the Synchronous client which is no longer supported. If you are still actively developing a project that uses this library, please consider switching to the Async client.&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 18:11:18 GMT</pubDate><guid isPermaLink="false">Closed Issue: CreateFolder - _client not instantiated [2181] 20100405061118P</guid></item><item><title>Closed Issue: Error in Getxml Method of IMAPMessage [2225]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=2225</link><description>Sorry My english is a Poor &lt;br /&gt;In IMAP.cs  Line 1473  is posible content.binarydata is null &lt;br /&gt;if &amp;#40;disp.ToLower&amp;#40;&amp;#41;.Contains&amp;#40;&amp;#34;inline&amp;#34;&amp;#41; &amp;#38;&amp;#38; &amp;#40;content.ContentId &amp;#33;&amp;#61; null &amp;#124;&amp;#124; content.ContentDescription &amp;#33;&amp;#61; null &amp;#41;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;                        if &amp;#40;content.BinaryData &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;                            continue&amp;#59;&lt;br /&gt;It&amp;#39;s OK &lt;br /&gt;Thanks &lt;br /&gt;Enrique de la Calle&lt;br /&gt;enrique at delacalle.net&lt;br /&gt;Comments: &lt;p&gt;This issue is related to the Synchronous client which is no longer supported. If you are still using the library in a project, please consider switching to the Async client.&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 18:10:08 GMT</pubDate><guid isPermaLink="false">Closed Issue: Error in Getxml Method of IMAPMessage [2225] 20100405061008P</guid></item><item><title>Closed Issue: Exception generated on messages that have extra space in date [3814]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=3814</link><description>Some dates on messages aren&amp;#39;t well-formed which causes an exception in the MessageHeaderProcessor. An example might be a date that starts with &amp;#34;Tue,  20&amp;#34;, notice the double space between the comma and number.&lt;br /&gt;Comments: &lt;p&gt;Thank you for your feedback. I have implemented a more robust and safer date parser which should support more possible date formats and won&amp;#39;t throw any exceptions. It will be included in the next release.&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 18:05:53 GMT</pubDate><guid isPermaLink="false">Closed Issue: Exception generated on messages that have extra space in date [3814] 20100405060553P</guid></item><item><title>Closed Issue: Message.DateReceived not populated correctly [3815]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=3815</link><description>This property seems to always be a copy of DateSent and isn&amp;#39;t properly populated.&lt;br /&gt;Comments: &lt;p&gt;This is because in many cases, the message header information only contains a single &amp;#34;Date&amp;#58;&amp;#34; field, which doesn&amp;#39;t specify whether it&amp;#39;s the sent date or the received date. &lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 16:00:20 GMT</pubDate><guid isPermaLink="false">Closed Issue: Message.DateReceived not populated correctly [3815] 20100405040020P</guid></item><item><title>Closed Issue: MessageHeaderCommand should use BODY.PEEK [4254]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=4254</link><description>I had an issue with Gmail recently where all messages I was receiving had the &amp;#92;Seen flag set. It seems sometime in August they changed their IMAP implementation to implicitly set the &amp;#92;Seen flag when the FETCH &amp;#40;FLAGS BODY&amp;#91;HEADER&amp;#93;&amp;#41; command is sent. I changed my code to FETCH &amp;#40;FLAGS BODY.PEEK&amp;#91;HEADER&amp;#93;&amp;#41; and this fixed the issue. According to the IMAP spec this is the correct way to do this&amp;#58;&lt;br /&gt;&lt;br /&gt;      BODY.PEEK&amp;#91;&amp;#60;section&amp;#62;&amp;#93;&amp;#60;&amp;#60;partial&amp;#62;&amp;#62;&lt;br /&gt;                     An alternate form of BODY&amp;#91;&amp;#60;section&amp;#62;&amp;#93; that does not&lt;br /&gt;                     implicitly set the &amp;#92;Seen flag.&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;james.apache.org&amp;#47;server&amp;#47;rfclist&amp;#47;imap4&amp;#47;rfc2060.txt &amp;#40;Search for &amp;#34;&amp;#91;Page 43&amp;#93;&amp;#34;&amp;#41;&lt;br /&gt;Comments: &lt;p&gt;MessageHeaderCommand has been updated to reflect this. Thanks for your contribution.&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 12:24:25 GMT</pubDate><guid isPermaLink="false">Closed Issue: MessageHeaderCommand should use BODY.PEEK [4254] 20100405122425P</guid></item><item><title>Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5210</link><description>Some email addresses are not being parsed correctly in the TO, CC, BCC collections.&lt;br /&gt;&lt;br /&gt; In one example the parser cannot break up the 3 addresses on the TO field.&lt;br /&gt; The parsed message returns 1 email address rather than the expected 3 in the TO field collection. The actual result looks like am address string &amp;#61; &amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39; and display name &amp;#61;  &amp;#60;&amp;#39;dave&amp;#64;yahoo.com, steve&amp;#64;hotmail.com, brian&amp;#64;gmail.com&amp;#39;&amp;#62;. Another side effect is that it also returns an empty email address in the BCC collection.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure what the root cause is yet, but I suggest that the Parser checks to ensure that only one &amp;#64; can exist in an email address. Equally an error should be handled when an email address is empty of poorly formated.&lt;br /&gt;Comments: ** Comment from web user: JasonMiesionczek ** &lt;p&gt;Which client are you using and seeing this problem, synchronous or asynchronous&amp;#63;&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 12:17:09 GMT</pubDate><guid isPermaLink="false">Commented Issue: MessageHeader EmailAddress list not being parsed correctly [5210] 20100405121709P</guid></item><item><title>Closed Issue: Invalid Attachment Name Handling [5220]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5220</link><description>For whatever reason, I seem to get messages with a colon &amp;#40;&amp;#64;&amp;#34;&amp;#58;&amp;#34;&amp;#41; in the attachment file name. This caused an exception on writing the file to disk with a filestream. Clearly, this was a filename issue, as my operating system, Windows, does not accept file names with colons &amp;#40;&amp;#64;&amp;#34;&amp;#58;&amp;#34;&amp;#41; in the file name. I was using the async IMAPMailboxManger to save attachments. There are a ton of ways to handle this exception. The best would probably be to handle this at the point that the data goes into the program -- when the attachment file name is parsed, but I chose to change the code in the IMAPMailboxManager save method. One fix for this is to change the code in the InterIMAP.Asynchronous.Client.IMAPMailboxManager.SaveAttachment&amp;#40;&amp;#41; &lt;br /&gt;&lt;br /&gt;Here is my updated code for the method that fixes file name issue when saving the file&amp;#58;&lt;br /&gt;&lt;br /&gt;        public void SaveAttachment&amp;#40;IMessageContent content, string path&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            string fn &amp;#61; content.ContentFilename&amp;#59;&lt;br /&gt;            &amp;#47;&amp;#47;MUST ERROR-PROOF INCOMING PARAMETER &amp;#34;content.ContentFilename&amp;#34; STRING PROPERTY VALUE&amp;#58;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#64;&amp;#34;&amp;#92;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#64;&amp;#34;&amp;#47;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#64;&amp;#34;&amp;#58;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#64;&amp;#34;&amp;#42;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#64;&amp;#34;&amp;#63;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#34;&amp;#92;&amp;#34;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#64;&amp;#34;&amp;#60;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#64;&amp;#34;&amp;#62;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            fn &amp;#61; fn.Replace&amp;#40;&amp;#64;&amp;#34;&amp;#124;&amp;#34;, &amp;#64;&amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            &amp;#47;&amp;#47;CONSTRUCT FILE PATH STRING, BUT ONLY AFTER ERROR CHECKING INCOMING PARAMETERS&lt;br /&gt;            string p &amp;#61; String.Format&amp;#40;&amp;#34;&amp;#123;0&amp;#125;&amp;#92;&amp;#92;&amp;#123;1&amp;#125;&amp;#34;, path.TrimEnd&amp;#40;&amp;#39;&amp;#92;&amp;#92;&amp;#39;&amp;#41;, fn&amp;#41;&amp;#59;&lt;br /&gt;            &lt;br /&gt;            &amp;#47;&amp;#47;CREATE AND WRITE THE FileStream&lt;br /&gt;            FileStream fstream &amp;#61; new FileStream&amp;#40;p, FileMode.Create&amp;#41;&amp;#59;&lt;br /&gt;            fstream.Write&amp;#40;content.BinaryData, 0, content.BinaryData.Length&amp;#41;&amp;#59;&lt;br /&gt;            fstream.Close&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;Comments: &lt;p&gt;i included your fix into the library, but i wrote the replace logic as this&amp;#58;&lt;/p&gt;&lt;p&gt;string fn &amp;#61; content.ContentFilename&amp;#59;&lt;br /&gt;fn &amp;#61; Regex.Replace&amp;#40;fn, &amp;#34;&amp;#91;&amp;#92;&amp;#92;&amp;#47;&amp;#58;&amp;#92;&amp;#42;&amp;#63;&amp;#92;&amp;#34;&amp;#60;&amp;#62;&amp;#124;&amp;#93;&amp;#43;&amp;#34;, &amp;#34;_&amp;#34;&amp;#41;&amp;#59;&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 12:14:00 GMT</pubDate><guid isPermaLink="false">Closed Issue: Invalid Attachment Name Handling [5220] 20100405121400P</guid></item><item><title>Closed Issue: InterIMAPGUITest fails - if email does not contain a "Content-Type" [5430]</title><link>http://interimap.codeplex.com/WorkItem/View.aspx?WorkItemId=5430</link><description>Was testing InterIMAP-Async - using InterIMAPGUITest. but did get an exception when reading a mail that was a non-deliverable message &amp;#40;From Exchange server&amp;#41;.&lt;br /&gt;The mail contained the original email - and did not contain any Content-Type charset parameter&amp;#58;&lt;br /&gt;&lt;br /&gt;Dirty fix in MessagePartProcessor.cs - method ProcessResult&lt;br /&gt;&lt;br /&gt;Line 100 - 110&lt;br /&gt;&amp;#60;code&amp;#62;&lt;br /&gt;                if &amp;#40;isHTML&amp;#41;&lt;br /&gt;                    content.HTMLData &amp;#61; sb.ToString&amp;#40;&amp;#41;.Trim&amp;#40;&amp;#41;.TrimEnd&amp;#40;&amp;#39;&amp;#41;&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;                else&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    string preEncoded &amp;#61; sb.ToString&amp;#40;&amp;#41;.Trim&amp;#40;&amp;#41;.TrimEnd&amp;#40;&amp;#39;&amp;#41;&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;                    &amp;#47;&amp;#47; Dirty Fix - START&lt;br /&gt;                    if &amp;#40;string.IsNullOrEmpty&amp;#40;content.Charset&amp;#41;&amp;#41;&lt;br /&gt;                        content.Charset &amp;#61; &amp;#34;utf-8&amp;#34;&amp;#59;&lt;br /&gt;                    &amp;#47;&amp;#47; Dirty Fix - END&lt;br /&gt;                    content.TextData &amp;#61; Decode&amp;#40;preEncoded, Encoding.GetEncoding&amp;#40;content.Charset&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;                &amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#60;&amp;#47;code&amp;#62;&lt;br /&gt;Comments: &lt;p&gt;thank you for your contribution. i will put this in for now and see if there is a better way to detect and account for this scenario.&lt;/p&gt;</description><author>JasonMiesionczek</author><pubDate>Mon, 05 Apr 2010 02:19:35 GMT</pubDate><guid isPermaLink="false">Closed Issue: InterIMAPGUITest fails - if email does not contain a "Content-Type" [5430] 20100405021935A</guid></item></channel></rss>