Thanks for your answer.
I've look at the script test, but i'm not really understand all because i'm not a professional.
I use this script to parse email :
damnsemicolon.com/php/parse-emails- ...
It use your class to work.
In the body section, there is only a code to have the text/plain return.
I've doing the same for text/html and it's ok, but when it's a multipart/alternative message, only the txt part is selected.
Do you think you can help me on this script ?