Hi,

I am planning on writing a script in php that needs to access an email account.

Now, this needs to work in qmail as well as other standard POP3 accounts. I am not 100% sure how qmail itself works but i believe it uses IMAP folders as opposed to POP3 accounts.

Now, there is a web based access system for qmail, at http://www.inter7.com/sqwebmail and that works fine but it is in cgi, i also want the system to work for general POP3 accounts.

Does anyone have suggestions on either a good book on this type of thing, none of the PHP books i have really go into it that much or good online tutorials about accessing maldirs using POP3. I will need to read (into php file) and delete messages, that is it.

Help in this would really be apprecaited.