Re: Using imap functions with STDIN

From: Date: Sat, 12 Apr 2003 09:12:30 +0000
Subject: Re: Using imap functions with STDIN
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143605@lists.php.net to get a copy of this message
On Friday 11 April 2003 17:11, David Brannlund wrote: > 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? A post quite a while ago hints that it's possible but I've never figured out how to do it. I just shell_exec() reformime to do my mail parsing. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* "Poor man... he was like an employee to me." -- The police commisioner on "Sledge Hammer" laments the death of his bodyguard */

« previous php.general (#143605) next »