[ Please do not quote the whole message you respond to, but strip the
parts that are not needed for context.

Type your follow-up below the quoted part, i.e. do not "top-post". ]

John wrote:
Gunnar Hjalmarsson wrote:
John wrote:
I want to check for specific senders (in my inbox) connecting
to the Mail Server via POP3.(just checking the From : bla bla
string) Not to download the inbox mails to my system.

This is one way:

use Net::POP3;

<rest of code suggestion snipped>

I checked again the code and it worked well!!

Now my question is if i can retreive the date that a message has
been sent and the subject ,as well.

I posted a ready-to-go code snippet in my first reply, since I know that Net::POP3 can be a little difficult to get a grasp of. Now *my* question is: Why don't you figure out what the code does by help of the Net::POP3 docs (and possibly other applicable Perl docs) and try to modify it to your liking?

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to