Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Oct : Mail service in D6 + Indy

www.cryer.info
Managed Newsgroup Archive

Mail service in D6 + Indy

Subject:Mail service in D6 + Indy
Posted by:"Mike_" (_@_._)
Date:Fri, 7 Oct 2005 14:53:52

Hi all,
I have an application, written in Delphi6, which uses an object TIdPOP3 to
access a mail server (across POP3 protocol) and download all messages in its
account.
All goes well as far as I stay at application level.
When I try to change this into a Windows2000 service, using the same
environment (Delphi 6 + Indy POP3) I get an error "ERangeError" only (!) for
messages with a body (attachment).
Through logs I've obtained the point where the service crashes: Retrieve
method.
It's very probable that I've managed to reproduce the error (I'm not sure)
in IdCoderIMF.IMFBoundaryEnd (I believe) procedure of Indy units. Anyhow it
isn't a stable behaviour. Sometimes comes, others no.

If anyone has some idea it'd be very welcomed.
It's frustrating not to have a possibility of debugging a service.

Many thanks in advance!
Mike_

Replies:

www.cryer.info
Managed Newsgroup Archive