I think I found a solution. Must admit I feel pretty down for spending so
much time on this when the solution was so simple, but I couldn't find too
much info on PHP's imap functions. Hopefully this will be indexed and help
developers in the future.

PHP has a function that saves the message in a valid RFC1892 multipart
report format:

$res = imap_savebody($imap, "../eml/test.eml", 2);

Thank you all for your help!
-- 
View this message in context: 
http://www.nabble.com/Save-email-as-.eml-file-tf4103444.html#a11714301
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to