troubleshooting Question

PHP to retreive mail from a pop3 server - what is best practice?

Avatar of Ron1959
Ron1959 asked on
9 Comments1 Solution363 ViewsLast Modified:
I need for a PHP script to retrieve email from a pop3 server.

I have tried
$connection = imap_open('{}', $user, $pass);

But that results in:  imap_open() [function.imap-open]: Couldn't open stream

The credentials check out fine in an email client.  Is there a better way to retrieve email?  If not, do you have any idea what the cause of the error could be?

phpinfo() indicates that  imap ssl support is enabled, so I assume imap is, too.

PHP Version 5.2.8 -- part of an XAMPP installation.


- Ron

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros