Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Incoming Mail Receiving in PHP
08-10-2008, 07:41 AM #1
- Join Date
- Jun 2006
- Thanked 3 Times in 3 Posts
Incoming Mail Receiving in PHP
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, 09:01 AM #2
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,662 Times in 2,631 Posts
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 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.
Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)PHP Code:
header('HTTP/1.1 420 Enhance Your Calm');