Re: Retrieving pop mail from gmail/ssl



bill wrote:
mlemos wrote:
Hello,

I have no idea why IMAP extension functions are not working for you.
Anyway, I do not use that extension because I have a POP3 client class
that uses fsockopen function instead of the imap extension functions. It
works well for accessing Gmail messages using POP3.

http://www.phpclasses.org/pop3class

Take a look at the test_pop3.php example script. The comments tell you
how to setup the class to access specifcally Gmail.

The class also provides a nice feature that allows you to access
messages in POP3 servers as if they were files using regular PHP file
access functions and special URLs. For instance you can retrieve the
first message in your POP3 mailbox in Gmail with a single line of code:

$message =
file_get_contents('pop3://user:password@xxxxxxxxxxxxx:995/1?tls=1');

BTW, if you want to parse the messages to extract their features, which
often you do, you can also use this MIME parser class together with POP3
class.

http://www.phpclases.org/mimeparser

This article tells you more on this:

http://www.phpclasses.org/blog/package/2/post/1-Process-incoming-email-messages-using-PHP.html




No joy, at least your class returns the error message:
Error: 110 could not connect to the host "pop.gmail.com": Connection timed out

Not surprising.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: Retrieving pop mail from gmail/ssl
    ... I have no idea why IMAP extension functions are not working for you. ... I do not use that extension because I have a POP3 client class ... works well for accessing Gmail messages using POP3. ... I dont contribute unhelful pompous condescending suggestions when I don't know the answer. ...
    (comp.lang.php)
  • Re: Retrieving pop mail from gmail/ssl
    ... I have no idea why IMAP extension functions are not working for you. ... I do not use that extension because I have a POP3 client class ... If you are referring to the questions about ssl support, ...
    (comp.lang.php)
  • Re: Retrieving pop mail from gmail/ssl
    ... I have no idea why IMAP extension functions are not working for you. ... I do not use that extension because I have a POP3 client class ... works well for accessing Gmail messages using POP3. ... messages in POP3 servers as if they were files using regular PHP file ...
    (comp.lang.php)
  • Re: Retrieving pop mail from gmail/ssl
    ... I have no idea why IMAP extension functions are not working for you. ... I do not use that extension because I have a POP3 client class ... If you are referring to the questions about ssl support, ...
    (comp.lang.php)
  • Re: Retrieving pop mail from gmail/ssl
    ... I have no idea why IMAP extension functions are not working for you. ... I do not use that extension because I have a POP3 client class ... works well for accessing Gmail messages using POP3. ... messages in POP3 servers as if they were files using regular PHP file ...
    (comp.lang.php)