> Of course, Fullresult contains only multiline responses (getting mail
> datas or message listing). Commands with one line responses have
> result in ResultString property. And LIST 11 or UIDL 11 is one-line
> commend, not multiline.
Multiline respone on LIST, when only one message is on server is one line as
for LIST n after filtering "+OK" and ".". Suggestion is that FullResult
consist full response without "+OK " or "-ERR" and "." at end of server
response for all commands.
> > In ver. 37, the problem is fixed for LIST n adding extra
> > property, however still present for UIDL n.
> What property you are meaning?
It is ListSize. To improve the UIDL x as well:
------
TPOP3Send = class(TSynaClient)
private
...
FUID: string;
...
published
...
{:After UIDL x command UID value is returned in FUID}
property UID: String read FUID;
constructor TPOP3Send.Create;
...
FUID:='';
...
function TPOP3Send.Uidl(Value: Integer): Boolean;
var
s: string;
begin
if Value = 0 then
FSock.SendString('UIDL' + CRLF)
else
FSock.SendString('UIDL ' + IntToStr(Value) + CRLF);
Result := ReadResult(Value = 0) = 1;
//SZ
FUID := '';
if Result then
if Value <> 0 then
begin
s := SeparateRight(ResultString, '+OK ');
FUID := SeparateLeft(SeparateRight(s, ' '), ' ');
end
end;
------
> We all using newer Synapse on those systems without problems.
Wasn't problem with Synapse,but with libraries. Works correct after refresing
it. Thank you.
Sasa
--
www.szutils.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public