Re: Manuel Lemos's Pop3 Class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 01/14/2008 04:29 PM m.frigge said the following:
> Hey there, 
> 
> I had a look at this class
> and I am wondering why it
> doesn't use the imap functions
> of Php. Sorry if this is a stupid 
> question but are there any advantages
> in using this class instead of
> using the imap functions. I mean 
> the debugging function is really 
> nice, but I can't even just get the 
> header information to list all the
> emails in Inbox .. (plz correct me
> if I am wrong). 
> 
> Has anyone ever checked the performance
> compare to the imap functions???

The IMAP extension is not available in all PHP installations.

Furthermore, the POP3 class is more appropriate to access POP3 mailboxes
because it supports POP3 specific directly.

One neat thing it provides is the ability to open messages in a POP3
mailbox like they were files, for instance like this:

$message =
file_get_contents('pop3://user:password@xxxxxxxxxxxxxxx/message_number_here');

You can also use this to parse your messages and extract its details
using in comabination with the MIME parser class:

http://www.phpclasses.org/mimeparser


-- 

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux