View Full Version : Incoming Mail Receiving in PHP

08-10-2008, 06:41 AM

I just have downloaded the freeware version of ArGoSoft Mail Server and installed it on my PC.

I am now able to send mails to localhost using PHP mail() function and can see the mail with outlook express.

But does anyone know how do I view the incoming mails with PHP programming?


is there any pre-made script to handle this?

Thanx for your support.

08-10-2008, 08:01 AM
I've never done incoming. Its not built into standard PHP best I know.
Not sure of any premade scripts. PHP does have the IMAP (http://ca3.php.net/manual/en/book.imap.php) library which also works with POP3 and NNTP. You'll need to download an compile the C libraries for that though. Curl may be able to connect to a remote mail server and retrieve messages. The only incoming mail I've done was in Java.