[Catalyst] email

Will Smith willbelair at yahoo.com
Mon May 7 19:40:39 GMT 2007


Hi, first of all, I want to apology if this question does not belong to this mail list.
 I am working on an email function that read in pop3 mails and return some values such as Subject, From, To, Date. I try Net::POP3, simple code like:
 
 my $pop = Net::POP3->new('mymailserver.com', Timeout => 60);
           
 if ($pop->login($username, $password) > 0) {
   my $msg = $pop->top(1);  # just read the 1 mail
 ...
 }
 
 ---
 If I stash out the value of $msg, it is an ARRAY(...) . I'm not sure how to manipulate that. I hope that someone (not getting mad because I pop the message in wrong room) would help me out a bit with which module is good to use for this type of work.
 
 Thank you
 
 
 
---------------------------------
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070507/9bbffbd1/attachment.htm


More information about the Catalyst mailing list