I was able to resolve this on my own, sharing with you the way I did that:

// Get the email from stdin
$fd = fopen("php://stdin", "r");
$email = "";
while (!feof($fd)) {
    $email .= fread($fd, 1024);
}
fclose($fd);

On the script end, I am retrieving the whole email from the STDIN.
Seems that there's no variable I can pass to my php script in order to pass
the whole message.
Thanks anyway
-- 
View this message in context: 
http://www.nabble.com/Deliver-mail-to-a-php-script-tp17833994p17837684.html
Sent from the Exim Users mailing list archive at Nabble.com.


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to