Re: PHP receiving e-mail
| From: | Philip Hallstrom | Date: | Tue, 14 Jan 2003 21:49:14 +0000 |
| Subject: | Re: PHP receiving e-mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131618@lists.php.net to get a copy of this message | ||
You could use fetchmail to get the mail and pipe it into your php script
which would see it as standard input...
Or look on zend.com for a POP class...
On Tue, 14 Jan 2003, David Russell wrote:
> Hi all,
>
> I want to develop a script that can read an e-mail from a pop account,
> and then perform actions on that e-mail based on characteristics of the
> e-mail (e.g. header information, attachments, etc)
>
> Does anyone know of a way to receive e-mails via php, and then to parse
> them easily. My assumption would be that there should be a class out
> there somewhere that handles it well.
>
> Thanks
>
> David Russell
> IT Support Manager
> Barloworld Optimus (Pty) Ltd
> Tel: +2711 444-7250
> Fax: +2711 444-7256
> e-mail: DavidR@BarloworldOptimus.com
> web: www.BarloworldOptimus.com
>