Alaska Software Inc. - Receiving mail with attachment
Username: Password:
AuthorTopic: Receiving mail with attachment
Pintér Balázs Receiving mail with attachment
on Tue, 20 Apr 2004 08:10:33 +0200
I use ASINET 1.82.294. I try to retrieve mail attachment,
but the solution based on code sample does not work.
Is there any solusion for this problem ?

Thanks in advance
Pintér Balázs
Andreas Herdt [Alaska Software]Re: Receiving mail with attachment
on Tue, 20 Apr 2004 14:29:09 +0100
Hi Pintér,

 From your description it is not clear what the error could be.
Thus some more information is required. Could you please provide
the log that was generated with loglevel 2?

If you feel that everything is fine when retrieving the mail
and the error happens while extracting attachments then please
do the following:

Read the message from server with oPop:getMessageString( i ) and
write the result to a file with low level file functions.
For example:

FUNCTION MyWriteFile( cFile, cWriteBuffer )
   LOCAL nTarget
   nTarget := FCreate( cFile, FC_NORMAL )
   FWrite( nTarget, cWriteBuffer )
   FClose( nTarget )
RETURN NIL

Then send the resulting log (loglevel 2) and message file to 
andreas.herdt@alaska-software.com


Regards
   Andreas Herdt
   [Alaska Research & Development]


Pintér Balázs wrote:

> I use ASINET 1.82.294. I try to retrieve mail attachment,
> but the solution based on code sample does not work.
> Is there any solusion for this problem ?
> 
> Thanks in advance
> Pintér Balázs
>