?
Solved

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

Posted on 2006-04-01
3
Medium Priority
?
319 Views
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!
0
Comment
Question by:Vallenwood
3 Comments
 
LVL 14

Expert Comment

by:huji
ID: 16351557
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
 
LVL 4

Author Comment

by:Vallenwood
ID: 16365633
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
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16416447
PAQ-ing this question and refunding 250 points.

Thanks !

GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

809 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