Using imap functions with STDIN
| From: | David Brannlund | Date: | Fri, 11 Apr 2003 09:11:29 +0000 |
| Subject: | Using imap functions with STDIN | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-143465@lists.php.net to get a copy of this message | ||
Hi Everyone,
I have a script which receives an email on STDIN. Is it possible to use the
imap functions to parse this email? It seems to me that all imap functions
needs an imap stream as argument. Can they be fooled to use a file stream or
a variable instead? Or are there any other good way to parse an email?
Thanks,
David Brännlund
Web & Database Development
COMSOL AB, Sweden