Comments on: Download emails from Gmail https://www.limilabs.com/blog/download-emails-from-gmail Using Limilabs .net components Fri, 24 Mar 2023 11:52:06 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Limilabs support https://www.limilabs.com/blog/download-emails-from-gmail#comment-598210 Wed, 05 Mar 2014 09:22:45 +0000 http://www.limilabs.com/blog/?p=262#comment-598210 In reply to Eve.

@Eve,

You can search IMAP using Expression.Header(“In-Reply-To”, “original message id”). If you are using Gmail you can get entire thread using Gmail thread id

]]>
By: Eve https://www.limilabs.com/blog/download-emails-from-gmail#comment-598176 Wed, 05 Mar 2014 00:43:32 +0000 http://www.limilabs.com/blog/?p=262#comment-598176 Can i search only for all reply messages?
Meaning download only email that reply to my message.

]]>
By: Limilabs support https://www.limilabs.com/blog/download-emails-from-gmail#comment-572780 Mon, 23 Sep 2013 17:39:11 +0000 http://www.limilabs.com/blog/?p=262#comment-572780 In reply to Santhosh.

@Santhosh,

Simply use MoveByUID method or you can use GmailLabelMessageByUID (and GmailUnlabelMessageByUID) to label a message.

]]>
By: Santhosh https://www.limilabs.com/blog/download-emails-from-gmail#comment-572692 Mon, 23 Sep 2013 07:24:01 +0000 http://www.limilabs.com/blog/?p=262#comment-572692 hi sir
thank you
it works for me as i needed, but my other requirement is to move the read mails to a specified folder.
could you please help me here

Thanks in advance.

]]>
By: Limilabs support https://www.limilabs.com/blog/download-emails-from-gmail#comment-554350 Thu, 20 Jun 2013 12:35:04 +0000 http://www.limilabs.com/blog/?p=262#comment-554350 In reply to Sravan.

@Sravan

Sometimes firewall or antivirus software may block your connection attempt.
However most likely you provided incorrect server address and/or SSL usage. Gmail requires implicit SSL:

imap.ConnectSSL("imap.gmail.com");

Remember to enable IMAP protocol access for your Gmail account.

If you are using different provider you might want to read this article:
http://www.limilabs.com/blog/connection-attempt-failed

]]>
By: Sravan https://www.limilabs.com/blog/download-emails-from-gmail#comment-554216 Thu, 20 Jun 2013 08:03:50 +0000 http://www.limilabs.com/blog/?p=262#comment-554216 it doesn’t work for me
No connection could be made because the target machine actively refused it

]]>
By: Limilabs support https://www.limilabs.com/blog/download-emails-from-gmail#comment-522649 Tue, 09 Apr 2013 17:09:12 +0000 http://www.limilabs.com/blog/?p=262#comment-522649 In reply to Kaushik.

@Kaushik

You can either peek email on the server, by using one of the PeekXXX methods (e.g. PeekMessageByUID), as they don’t change the state of the message on the server
-or-
you can mark message seen or unseen explicitly.

]]>
By: Kaushik https://www.limilabs.com/blog/download-emails-from-gmail#comment-522633 Tue, 09 Apr 2013 16:16:59 +0000 http://www.limilabs.com/blog/?p=262#comment-522633 Does it is possible to mark the unseen mail as seen in gmail. That is once the unseen mail will be read then and then it will mark in gmail server. So that from next time always the unseen mails will be received.

]]>
By: Limilabs support https://www.limilabs.com/blog/download-emails-from-gmail#comment-445316 Tue, 29 Jan 2013 07:06:21 +0000 http://www.limilabs.com/blog/?p=262#comment-445316 In reply to peace.

@Peace

What is your problem exactly?

]]>
By: peace https://www.limilabs.com/blog/download-emails-from-gmail#comment-443603 Mon, 28 Jan 2013 11:23:00 +0000 http://www.limilabs.com/blog/?p=262#comment-443603 How can I check my Gmail inbox?

]]>