Comments on: Get email information from IMAP (fast) https://www.limilabs.com/blog/get-email-information-from-imap-fast Using Limilabs .net components Tue, 29 Jul 2014 09:42:04 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Limilabs support https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-567192 Sun, 18 Aug 2013 10:27:38 +0000 http://www.limilabs.com/blog/?p=1140#comment-567192 In reply to Richard Taylor.

@Richard,

Have you used foreach? Envelope.From is a collection.
Each item in this collection is of MailBox type, which has Address and Name properties.

]]>
By: Richard Taylor https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-566680 Wed, 14 Aug 2013 14:52:25 +0000 http://www.limilabs.com/blog/?p=1140#comment-566680 Hi, I have followed the example but when trying to output the email from by using info.Envelope.From but instead of getting the actual information I am getting

System.Collections.Generic.List`1[Limilabs.Mail.Headers.MailBox]

Help?!?

]]>
By: Limilabs support https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-222874 Thu, 22 Nov 2012 15:33:51 +0000 http://www.limilabs.com/blog/?p=1140#comment-222874 In reply to Math.

@Math,

GetHeadersByUID downloads only message headers, there are no information about attachments, message size.

You are trying to compare apples to oranges here.

If you don’t care about attachments’ info, GetEnvelopeByUID should be faster then GetHeadersByUID and GetMessageInfoByUID.

]]>
By: Math https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-222726 Thu, 22 Nov 2012 14:42:51 +0000 http://www.limilabs.com/blog/?p=1140#comment-222726 You say this is the fastest way but when I use: imap.GetHeadersByUID(uids)
I can read 1000 mails in 7-8 seconds, how GetMessageInfo then be the fastest?

]]>
By: Save all attachments to disk using IMAP | Blog | Limilabs https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-11786 Tue, 08 May 2012 19:36:29 +0000 http://www.limilabs.com/blog/?p=1140#comment-11786 […] working with attachments. You can download only parts of email message, which in conjunction with getting basic email information without downloading entire message can make your code very […]

]]>
By: Download emails from Gmail via POP3 https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-1492 Fri, 21 Oct 2011 18:04:20 +0000 http://www.limilabs.com/blog/?p=1140#comment-1492 […] download emails’ basic information very fast […]

]]>
By: Limilabs support https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-1491 Sat, 06 Aug 2011 10:51:03 +0000 http://www.limilabs.com/blog/?p=1140#comment-1491 In reply to Jacek.

@Jacek

It’s not a bug.

The latest version has PeekSpecificHeaders and PeekSpecificHeadersByUID methods that don’t set Seen flag. Generally Peek* methods in contrast to Get* methods don’t set Seen flag.

]]>
By: Jacek https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-1490 Fri, 05 Aug 2011 13:45:47 +0000 http://www.limilabs.com/blog/?p=1140#comment-1490 I noticed that when i use GetSpecificHeadersByUID to recieve headers for specified messages, these messages are being flagged as seen. Please let me know if you plan to fix this. Thanks.

]]>
By: Limilabs support https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-1489 Fri, 06 May 2011 18:06:45 +0000 http://www.limilabs.com/blog/?p=1140#comment-1489 In reply to b0ris.

@Boris,

Unfortunately not all headers are included in envelope response.
You can use Imap.GetSpecificHeadersByUID(List uids, string[] headers) to get those you are missing, but expect significant performance drop as this command expects multi-line response.

Please note that this method is available in the newest version of Mail.dll

]]>
By: b0ris https://www.limilabs.com/blog/get-email-information-from-imap-fast#comment-1488 Thu, 21 Apr 2011 08:51:46 +0000 http://www.limilabs.com/blog/?p=1140#comment-1488 Hello,

I’d like to use this fast method in my application, but can’t think about a way to retrieve the Priority/Importance this way. I’m sure there is a way, so can you please help me out if you have a little time?
Thanks in advance!

]]>