Is there a way to get the google emails using php but w开发者_Go百科ithout the imap extension?
Weeell, you could use a POP3 client class, like this one: http://pecl.php.net/package/POP3 - but it will be a huge hassle. POP3 is a very rudimentary protocol, and IIRC you need to specifically allow it for the given GMail inbox. It is possible though, if you really can't go with IMAP.
Sure
PEAR's Net_IMAP Provides an implementation of the IMAP4Rev1 protocol using PEAR's Net_Socket and the optional Auth_SASL class.
To clarify, this is a package that implements the IMAP protocol in PHP code, instead of requiring an extension to be installed. It will probably not perform as well as the C-client would, but it should be functional at least.
精彩评论