body_(re)write method in Transaction.pm

[email protected] (Ryszard)
Newsgroups perl.qpsmtpd
Message-ID <[email protected]>
Hi All,

I'm having a bit of trouble rewriting and entire message body with the
standard api calls.  what i would like to do is add header text to the
body of an email.

i've set the size_threshold to zero and performed a body_resetpos  to
attempt to re-write the message body, however cant seem to get this to
work.

i've had a look thru' the Transaction.pm code and figure its not hard
to clone the body_write method to be something like body_rewrite so i
can rewrite the entire body.

A couple of questions:
1) have i done something incorrect, or have missed something that will
allow me to rewrite the entire message body?
2) are patches being accepted in the case i have not missed anything?

regs
ryszard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.