Forum Moderators: coopster
You need a basic underlying mail infrastructure: an accessible POP3 or IMAP mail service, where your incoming mails had to be delivered to, before you can start to retrieve anything.
If you have a working IMAP on your server, then you may look at the web-mail product [squirrelmail.org...] , which is written in PHP.
It is an Open Source project, so you can have a look at their code to get an idea on how they do it.
Kind regards,
R.
have you looked at this
[php.net...]
this can be done via a pipe, checkout some related threads here:
Trying to pipe email to php script [webmasterworld.com]
Can PHP recieve emails? [webmasterworld.com]