Title: Mail::POP3Client.
Hi all,
I wrote a small Perl script which reads the emails from a POP3 mail server and does some automatic analyses on them. Now, my problem is that I am not able to take only the new emails ( only those UNREAD ). I was thinking of doing ( as a workaround
GIVEN NEXT SNIPPET
++
use
Mail::POP3Client; $pop = new Mail::POP3Client(
USER =
"...", PASSWORD =
"",
HOST = "" );my
$nn=$pop-Count();print
"n=$nn\n"; for ($i = 1; $i =
$pop-Count(); $i++) { foreach
( $pop-Head( $i ) )
{
/
, November 05, 2003 5:44 AM
Subject: MAIL::POP3CLIENT QUESTION-HELP!
GIVEN NEXT SNIPPET
++
use Mail::POP3Client;
$pop = new Mail::POP3Client( USER = ...,
PASSWORD = ,
HOST = );
my $nn=$pop-Count();
print n=$nn\n;
for ($i = 1; $i = $pop-Count
Sent: Wednesday, November 05, 2003 5:44 AM
Subject: MAIL::POP3CLIENT QUESTION-HELP!
GIVEN NEXT SNIPPET
++
use Mail::POP3Client;
$pop = new Mail::POP3Client( USER = ...,
PASSWORD = ,
AUTH_MODE = 'PASS',
DEBUG = 1;
HOST
Hi!
Is there a way to mark messages as read inmediately after you read it with
Mail::Pop3?
I see the messages are shown as read only after I delete one of the
incoming messages. But what if I want them marked as read just after I
read them?
Any help would be appreciated.
Thanks in advance,
Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 11:34 PM
Subject: Parsing Mime emails and Mail::Pop3Client
| Hi!
|
| I'm writing a script that retrieves email from POP3 servers using
| Mail::Pop3. The hard thing to do is when the message is mime type
Hi!
I'm writing a script that retrieves email from POP3 servers using
Mail::Pop3. The hard thing to do is when the message is mime type with
attachments. It is real dificult to parse them. There's always one email
message that gives trouble. Or I dont get the attachment, or if charset
changes
,
the scripts runs without any output, what's wrong
#!/usr/bin/perl
use Mail::POP3Client;
$pop = new Mail::POP3Client( USER= username, PASSWORD= somepassword, HOST=
myhost.com
#!/usr/bin/perl
use Mail::POP3Client;
$pop = new Mail::POP3Client( USER= username, PASSWORD= somepassword, HOST=
myhost.com );
for ($i = 1; $i = $pop-Count(); $i