Great to hear that you have created your own POP3 api. Is it open source?
As for the imap api, i have not experienced any speed issues with it but you may be right. My understanding is that the library behind the PHP IMAP api is the same as what's widely used in lots of mail clients for nixes including pine.
andu wrote:
On Thu, 14 Aug 2003 19:35:21 +0600 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
Hi,
You are certainly on the right track wtih imap_*()
Imap_* functions seem like the easy way out but I found them to be extremely slow for retrieving mail (specially headers and stuff). I also found similar complaints on the net. My solution was to write my own pop3 functions which prove much faster. I don't blame the functions per se but I believe they use the pop3 directive TOP which is painfully slow in returning data specially if done repetitively, retrieving all messages and and chopping out the needed header parts is many times faster.
The same set of functions can be used for checking both POP3 and IMAP 4 accounts. With POP3 however you will either have to leave mail on server or store them in db or maildir. Else you lose the mail after you read it!
PHP happens to be one of the most popular languages when it comes to creating web based mail systems. You will find a classic at
http://www.squirrelmail.org/ which happens to be open source as well.
all the best
Marcus Edvardsson wrote:
Hi!
* I'd like to connect to a mail server * Confirm the senders email addresses * Download the attached file from a speciall email * Read the message body
How can I do this? Someone who have tried this?
I found some functions for IMAP built in PHP, do you recommend that I dig deeper in those or should I use PEARs classes like http://pear.php.net/packages.php?catpid=14&catname=Mail
Marcus - Sweden
--
Raditha Dissanayake ------------------------------------------------------------- http://www.radinks.com/sftp/ Lean and mean Secure FTP applet with Graphical User Inteface. just 150 Kilo Bytes
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php