Oops ...
and may be  $arr=$pop->get($msgnum,FILE);

Yves

-----Original Message-----
From: Dutrieux Yves [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 3:55 PM
To: 'Arthur Araoz'
Cc: '[EMAIL PROTECTED]'
Subject: RE: :pop3


Try with this change :
 
open(FILE,'>mail.dat');
 
I suppose, it's not a problem with you Pop3 connection....
 
Yves

-----Original Message-----
From: Arthur Araoz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 3:36 PM
To: [EMAIL PROTECTED]
Subject: net::pop3



I'm just trying to retrieve a message with pop3->get method but get it into
a file, but the resulting file is 0 sized.
I'm using the following code:
 
open(FILE,'mail.dat');
$arr=$pop->get($msgnum,<FILE>);
 
I don't know how to make the entire message print on the filehandle.

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to