Page 1 of 1

Email POP test

Posted: Tue Apr 06, 2004 5:01 am
by gloveny2
Hi everyone. Im new to PHP and havent and cant find what I'm looking for.

I've been asked to make a simple Email function for clients and our old version of the site uses ASP to do whats know as a POP test. This means it attempts to download Emails from a dummy account , as if it were in outlook and send/receive was pressed. If succesfull, this means its a trusted then it can send an email. Does anyone know how I could do this with PHP. For example I can send mail with this function ->
mail($to, $subject, $message ,$from);

Is there a function to read email???
All replies appreciated.
Thanks
Graham

Posted: Tue Apr 06, 2004 8:27 am
by TheBentinel.com
There's an OpenSource (I think) project called SquirrelMail that's PHP based. You could peruse the source of that and see how they're doing a mail check.

Posted: Tue Apr 06, 2004 9:13 am
by gloveny2
Hi thanks but I found this, well my boss did.

http://www.thewebmasters.net/php/POP3.phtml

Download the latest verion of the class from the very top of the page called POP3-1_0.tar.gz. The code in the SYNOPSIS section on the page itself can do all the work I need.

cheers :)