On Sep 15, 2008, at 13:40, Chris Lewis wrote:

According to the documentation, when you call
$transaction->body_filename, you get a temporary file name that points
at a file that contains the message.  If you examine body_filename, it
has no headers.


It was made that way first because the headers can change, so we needed to keep those in memory.

If we put them into the file we have to document that they are there as received from the client which isn't necessarily the same as what they are now. Also any plugins (queue plugins) that use the body but need the correct headers will have to know to skip the headers (maybe a method to give a filehandle starting at the right place?).


 - ask

--
http://develooper.com/ - http://askask.com/


Reply via email to