Re: email body text extraction.
| From: | David Robley | Date: | Wed, 20 Feb 2002 02:30:38 +0000 |
| Subject: | Re: email body text extraction. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85482@lists.php.net to get a copy of this message | ||
In article <000b01c1b8e3$b9ad16a0$0100a8c0@athar>,
athar@enablingstudios.com says...
> I want to check for new emails (with a specific subject) and extract the
> message body. This message body will be used to update specific parts of my
> website. Any ideas?
>
> Many thanks in advance.
>
> Regards.
> Athar Hameed
> athar_hameed@yahoo.com
>
>
> P.S. I would like to meet other PHP programmers in Islamabad, Pakistan. If
> anyone's interested, mail me at athar_hameed@yahoo.com
If you are on a *nix system, have admin rights and can access a cgi
version of PHP, it's fairly straight forward.
Just set up an alias that routes incoming mail to a PHP script that does
what you need. You'll probably need to do a bit of research on the
relevant RFCs (822 and another that I forget for the moment) to figure
out the structure of an email message.
--
David Robley
Temporary Kiwi!