Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some bugs in TIdIMAP4
#2
(05-27-2019, 05:38 PM)johnmay Wrote: I use Indy 5499. After installing and compiling it, first thing I noticed is that right clicking on dclIndyCore140.dpk and selecting Install reports an error.

Can you be more specific? What is the actual error? And, just to confirm, you are using RAD Studio 2010, correct?

(05-27-2019, 05:38 PM)johnmay Wrote: This wasn't the case in earlier versions, however, Install on dclIndyProtocols140.dpk works fine. I assume this is some change since earlier release and that it is now enough to install just dclIndyProtocols140.dpk

No, you still need to install the dclIndyCore package first.

(05-27-2019, 05:38 PM)johnmay Wrote: when downloading message list from IMAP, using UIDRetrieveAllEnvelopes

I get a list which contains subjects like (reply log from server):

Quote:* 1760 FETCH (UID 12777 FLAGS (\Seen) ENVELOPE ("5 May 2019 07:50:59 +0200" "Test \"quoted text\", more text" (("test" NIL "test" "test.com")) (("test" NIL "test" "test.com")) (("test" NIL "test" "test.com")) ((NIL NIL "test2" "test2.com")) NIL NIL NIL "<msgid@test.com>"))

The problem is the \" escaping of quotes - Indy doesn't seem to decode this properly and the text ends up as Test \

It should be. UIDRetrieveAllEnvelopes() calls ParseLastCmdResult(), which calls ParseIntoBrackettedQuotedAndUnquotedParts() to parse the text inside the outer parenthesis, and that does decode escaped characters. If it is not, I'll have to trace through the parser to find out why not.

(05-27-2019, 05:38 PM)johnmay Wrote: Is this a known bug?

Maybe. It might be a variation of this bug, since it uses the same parser:

#112: TIdIMAP4.ListMailBoxes() does not handle escaped characters

If not, feel free to file a separate bug report for this issue.

Reply


Messages In This Thread
Some bugs in TIdIMAP4 - by johnmay - 05-27-2019, 05:38 PM
RE: Some bugs in TIdIMAP4 - by rlebeau - 05-29-2019, 12:13 AM
RE: Some bugs in TIdIMAP4 - by johnmay - 05-29-2019, 05:00 PM
RE: Some bugs in TIdIMAP4 - by rlebeau - 06-11-2019, 07:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)