
Rico - 2012-02-06 11:28:38
Hi !
And thx for this brilliant classes and for all the explanations.
Your parser & example work well and I 'm now less a newbie in PHP ;) and I get all mails attachement (& inline) in the folder tmp !
Regarding now the whole process to implement, I have one issue when getting the file using STDIN and your method :
FYI my STDIN is working well, with other Php script on my server (Php5)
- I first tried your approach : $message_file = file_get_contents("php://stdin");
and nothing in the folder tmp
- Then I tried my method working in my other script, but not working with your class
$message_file = '';
$file = fopen('php://stdin', 'r');
while(!feof($file))
{
$message_file .=fgets($file, 1024);
}
fclose($file);
I tried also with pointer...but no result.
Could you give me your feedbacks/help ?
Thx
Rico