Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Mail::POP3Client or Net::POP3

by TheoPetersen (Priest)
on Feb 21, 2001 at 22:29 UTC ( [id://60079]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: I need to print a string but only if it doesn't match a value in an array.
in thread I need to print a string but only if it doesn't match a value in an array.

I faced a similar choice with IMAP modules, and went with Net::IMAP because it had the method I needed specifically for a simple biffer. In your case, if Mail::POP3Client has a method that gets rid of a lot of your own code, it seems worth using.

In your topic post you said you wanted to delete headers, but your approach seems error prone at best (what if you encounter a header you didn't plan on). The Body method of Mail::POP3Client works because it uses the structure of a message, not a list of known headers.

How about giving Mail::POP3Client another go? You can post more questions or /msg me if you need help with specifics.

Replies are listed 'Best First'.
Re: Mail::POP3Client or Net::POP3
by create 3 arrays. first array last names, second name first name and third array (Initiate) on Feb 22, 2001 at 15:33 UTC
    yeah I actually gave it another try last night, cut my code in half, I figured that the problem I was having was that my mail server uses plaintext instead of apop, and so it kept failing. thanx for all the help my next hurdle is DBI and MySQL, wish me luck :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://60079]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.