John Peacock wrote:
Please describe what you are trying to do, rather than how you think you need to
do it. I can read that question several different ways, each with it's own
solution.
Thanks for the response, I'll elaborate:
I'm reproducing spamassassin's "report_safe" feature (e.g. a message
marked as spam becomes a message with a body containing SA's spam report
and the original message content as an attachement). So I need to
prepend the report to the message body (and append as well, come to
think of it, to do the MIME stuff).
I can see in the documentation how to do this by getting a filehandle to
the message itself, but I also see there that this will force disk
spooling where it might otherwise be unnecessary. Is there a superior
way to accomplish this?
-Jared Johnson
Software Developer and Support Engineer
Network Management Group, Inc.
620-664-6000 x118
--
Inbound and outbound email scanned for spam and viruses by the
DoubleCheck Email Manager: http://www.doublecheckemail.com/