🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2890

Re: IdSMTP bug?

#2890
From: John
Date: Thu, 05 Jan 2006 01:31
29 lines
2216 bytes
> I have forwarded the issue to Indy for review.

Hi, I'm back. Thank you for forwarding this issue but I can't wait so long.
I have fixed this issue manually (in Indy 9.0.18). I am confused: the Indy
developer team knew from this problem! I found a comment in the file
"IdIMAP4.pas" at line 3429:

     "{CC: LSlRetrieve[2] should be  '(' + IMAP4FetchDataItem[fdFlags], not
'(' + IMAP4FetchDataItem[fdUID]}"

No matter, I solved the problem as follows:
1. open IdIMAP4.pas and find "function TIdIMAP4.UIDRetrieveFlags(const
AMsgUID: String; var AFlags: TIdMessageFlagsSet): Boolean;"

2. Inside this function search for: "                    if (
(LSlRetrieve.Count > 4) and
                      AnsiSameText ( LSlRetrieve[1],
IMAP4Commands[cmdFetch] ) and
                      AnsiSameText ( LSlRetrieve[2], '(' +
IMAP4FetchDataItem[fdFlags] ) )"

3. Replace with: "                    if ( (LSlRetrieve.Count > 4) and
                      AnsiSameText ( LSlRetrieve[1],
IMAP4Commands[cmdFetch] ) and
                      ( AnsiSameText ( LSlRetrieve[2], '(' +
IMAP4FetchDataItem[fdFlags] ) or AnsiSameText ( LSlRetrieve[2], '(' +
IMAP4FetchDataItem[fdUID] ) ) )"

It works now correctly. :-)
Technical Details
Message-ID: <43bc7666$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.osn.de!diablo1-ffm.news.osn.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4342cc9d$1@newsgroups.borland.com> <434303ed@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5d56ddd55917baf8
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John" <qwertzuiopmiller@web.de>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4342cc9d$1@newsgroups.borland.com> <434303ed@newsgroups.borland.com>
Subject: Re: IdSMTP bug?
Date: Thu, 5 Jan 2006 02:31:27 +0100
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 84.59.87.191
Message-ID: <43bc7666$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1136424550 84.59.87.191 (4 Jan 2006 17:29:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.osn.de!diablo1-ffm.news.osn.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail