How do I connect to POP using PEAR class from another server

I am using the "Net_POP3" class from the PEAR package in order to connect to a POP server and check messages. It works perfectly fine when run from the same server as the one hosting the email, but when I try to run it from a sister server with a different domain name, it churns for a minute and then returns "Generic login error." All login info is most definitely correct, as it works fine when on the same server.

I am not terribly familiar with the PEAR package so I hope someone who is, or a more IT-saavy person, might be able to tell me why the login is being rejected. Some PEAR setting? Something on the server blocking access? (Works fine when checking via a mail reader like Outlook Express.) Thank you in advance!
LVL 4
VallenwoodAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hujiCommented:
Did you read the documentaion available online? (here: http://pear.php.net/manual/en/package.networking.net-pop3.php ). Does it help at all? Do you get true or false when you use the connect() method?
Wish I can help
Huji
0
VallenwoodAuthor Commented:
This problem was resolved by the web hosting company -- it was NOT a deficiency of the script or a configuration issue with it or the PEAR package. The issue, according to them, was with their APF firewall. They said that they reinstalled the APF firewall and this resolved the problem. So if you have a similar problem--your script can check POP mail on its own server but not on a different server--contact your web host and request that they examine their firewall or otherwise make sure one server is not blocking the other.
0
GranModCommented:
PAQ-ing this question and refunding 250 points.

Thanks !

GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.