Reopened Issue: Parsing Failed if HeaderKey has no value [1523]
I was parsing quite a few mail and got a crash if a header key has no value as for example: "X-Spam-Level: "I added a if statement in the try of EmailParser >> ParseHeaders try { if (num > 0...
View ArticleReopened Feature: Connection failed, Bypassing the server certficate...
Hi,client.Connection();fails with an AuthenticationException "The remote certificate is invalid according to the validation procedure." then it continues with ArgumentException: "Stream was not...
View ArticleReopened Issue: The message.Process() go into infinite loop [1495]
The function Message.Process() sometime go into infinite loop.It's hard to debug this error, my program is something like the following:```// try to schedule a one gmail checkingwhile(true){ -open...
View ArticleReopened Issue: Message.Process results in IndexOutOfRangeException [1486]
Dear Coders,I've just started using your ImapX library to retrieve and read mails from gmail.Now, everything is working fine and it's a great library.However, when i'm trying to mark a mail read using...
View ArticleReopened Issue: Extract wrong file name [1467]
Hi,Firstly, thank so much for your project, it help me so much.But, I found some bug:- Wrong attachment file name, the file name is "Nguyên nhân viêm gan.docx", but the lib found is "Nguyên nhân viêm...
View ArticleReopened Issue: ImapX2 Process Email bug [1457]
I just found out that the ImapX didn't read all of email content if that email contains somethings such as:"This is the first line:+ Second line+ Third lineFourth line"I tried the Process() method,...
View ArticleReopened Feature: Redundant exceptions at Message.Process() [1424]
Hello,I'm trying to download messages from a GMail account with the following IMAP search query:"FROM some@emailaddress.com SINCE 19-Nov-2012"When I call Process() on each message of the result (or use...
View ArticleReopened Issue: Attachment Filename not properly set [1423]
When trying to invoke the savefile method it was complaining about illegal characters in path, so I did a little investigation and discovered that the filename for the attachments was set to:...
View ArticleReopened Task: Clarify parameter name and use Path.Combine in...
Hello,I have some suggestions based on my experiences, which could improve quality a bit. First, please clarify that the Attachment.SaveFile method accepts a folder, and not a file path, so the...
View ArticleReopened Issue: System.OutOfMemoryException after calling...
System.OutOfMemoryException after calling Convert.FromBase64String in Message.Process. More details: http://imapx.codeplex.com/discussions/393735 The exception occurs when messages contains large...
View ArticleNew Post: Unique ID for Emails
Hi All, I would be grateful if anybody can help me with this piece of code. What I am trying to do is to retrieve one email Content by MessageUID but It is not working. I don't want to retrieve all the...
View ArticleNew Post: ImapX Latest Sample Code to Get only 1 Unread Email
Hi Pavel, Thanks for your input. But it would be grateful if you can help me with this piece of code. What I am trying to do is to retrieve one email Content by MessageUID but It is not working. I...
View ArticleNew Post: ImapX Latest Sample Code to Get only 1 Unread Email
Hi Nabeel, your code requires minor change, the argument name of the second search command is not MessageUid. It's just UID:ImapX.MessageCollection messageDetails = client.Folders["INBOX"].Search("UID...
View ArticleNew Post: ImapX Latest Sample Code to Get only 1 Unread Email
Hi Pavel, Thanks for the quick response, However I have already tried with this "UID" as well. But it doesn't work always. I would say 4 out of 10 times. Is there any way to retrieve the single unseen...
View ArticleNew Post: Need help, retrieving decoded message body
Hi Vnwind, if you want to get the decoded message body, please use the GetDecodedBody method and not GetAsString. For more details see the documentation page. Best regards, Pavel Azanov
View ArticleNew Post: Email details all NULL
Hey there, I tried to download a list of all the emails sitting in the INBOX folder through:Messages = client.Folders["INBOX"].Search("ALL", false); where Messages is a List<> of ImapX Message...
View ArticleNew Post: Email details all NULL
Hi Magnanimousness, if you call the search command and set the second argument to false, only some information will be requested from the server, so you can manually process every single message later....
View ArticleNew Post: Email details all NULL
Oh okay great, that worked like a charm :) Thanks Pavel!
View ArticleNew Post: Failed to reade Attachments using Imapx libry
When i am reading attachments it is displaying wrong count of attachments..if the email has only one attachment, i will get the output as 3. please someone help me to solve this,, This is the code i...
View Article