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

Posted on 2006-04-01
Last Modified: 2012-08-13
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!
Question by:Vallenwood
    LVL 14

    Expert Comment

    Did you read the documentaion available online? (here: ). Does it help at all? Do you get true or false when you use the connect() method?
    Wish I can help
    LVL 4

    Author Comment

    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.

    Accepted Solution

    PAQ-ing this question and refunding 250 points.

    Thanks !

    The Experts Exchange
    Community Support Moderator of all Ages

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    A colleague recently asked me about how to give his client a small part of the web site that could be completely under the client's control.  Since I have done this sort of thing before to add emergency banners to a web site, I decided I would creat…
    Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
    The viewer will learn how to dynamically set the form action using jQuery.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now