New Post: Date.TryParseExact Problem
Hi ravib, thank you for the snippet! I will include it! Greets, Pavel
View ArticleNew Post: STATUS implemented?
Is it possible to get basic statistics on a folder (# messages, # unread) without grabbing all of the message data? I'm implementing something which has to mirror an inbox and I need a relatively...
View ArticleCreated Unassigned: Issue while parse message [1855]
Hi Pavel, i detect this message generating memory leak on body parseFlags: MinimalA first chance exception of type 'System.OutOfMemoryException' occurred in mscorlib.dll* 2 FETCH (UID 2 INTERNALDATE...
View ArticleNew Post: STATUS implemented?
I guess to answer my own question, the folder.Examine() ; folder.Recent and folder.Exists probably give me what I need, so you can ignore this request. Some even brief documentation on the different...
View ArticleEdited Issue: Issue in Move messages [1850]
Hi, I can´t move messages into foldersexample: Move messages from spam folder to recyclerUsing Message.MoveTo(Object Folder_Recycler)__Folder.CS__public bool Expunge(){ Folder selectedFolder =...
View ArticleNew Post: How to mark messages as read?
I am successfully searching for messages using the "(UNSEEN)" flag, but I'm having some difficulties marking them as read or "SEEN". This is what I've tried so far: currentEmail.Flags.Remove("UNSEEN");...
View ArticleNew Post: How to mark messages as read?
Hi deusdies, you can use the Message.Seen property directly:currentEmail.Seen = true; PS: Note to your code: the flag SEEN does not exist. The message can only have the UNSEEN, and be seen when it is...
View ArticleNew Post: STATUS implemented?
Hi Darren, you're right, simply use the Examine method. I will think about implementing the STATUS command in separate method as well. Best regards, Pavel
View ArticleNew Post: How to mark messages as read?
You're welcome! Another thing I want to mention, for a more easy handling of flags, you can use the constants in ImapX.Flags.MessageFlags:using ImapX.Flags; /*...*/...
View ArticleNew Post: Getting Raw Message
Is there a way to access the raw message? You've done a beautiful job of unpacking all the different message parts but for the application I am working on I need a fairly raw version of the message -...
View ArticleNew Post: Original Message
Can you tell me the way to get the original message i.e the raw message...
View ArticleNew Post: Get IP Address Of Sender
Is there any way to get the IP address of the sender.
View ArticleNew Post: Original Message
Hi paliwalvimal1993, please do not create threads that do exists already. Use the search function before asking. And in this case, same thread was started by another user right under yours.
View ArticleNew Post: Getting Raw Message
Hi Darren, to get the raw message, you can use the Message.ToEml() method. However, in this case, the message data will be built from the downloaded parts, which will not be the original. For better...
View ArticleNew Post: Get IP Address Of Sender
Hi paliwalvimal1993, it's not possible to get the IP address of the sender, unless it is stored in some of the message headers, which is, however, seldom the case. Greets, Pavel
View ArticleNew Post: Get IP Address Of Sender
the IP address of the sender is always stored in the original message i.e, the raw message. So if you are developing a function to get the original message then please also try to fetch the IP address...
View ArticleNew Post: Search query couldn't be processed
Just saw this after installing VS2013"'ABSConsoleImport.vshost.exe' (CLR v2.0.50727: ABSConsoleImport.vshost.exe): Loaded 'C:\Users\Matt Taylor\Documents\Visual Studio...
View ArticleNew Post: Can't connect to Imap gmail
Hi, I don't know if it is a firewall issue, but I can't connect to imap gmail. Here is the code I am using:ImapClient client = new ImapClient("imap.gmail.com",993,true,true); client.IsDebug = true;...
View ArticleNew Post: Search Query
Can you tell me how to fetch messages whose uid > 100(or any other number) Waiting For Your Reply..
View Article