How can I get the mail piped to a PHP file?

Pere Vineta

Verified User
Joined
Feb 18, 2007
Messages
5
I have forwarded a mail address, say [email protected], to a file with the code "|/usr/local/bin/php -q /home/uniplat/domains/myDomain.com/public_html/email.php".

How can I read the email received on that "email.php" file?

Thanks

Pere
 
Forward it to your email address as well with the forwarder or change your php script to forward you a copy.
 
Back
Top