...and now also to list :)
Begin forwarded message:
Date: Fri, 8 Dec 2006 19:17:07 +0100
From: Hanno Hecker <[EMAIL PROTECTED]>
To: Ask Bjørn Hansen <[EMAIL PROTECTED]>
Subject: Re: [PATCH] $transaction->body_fh, $transaction->body_length
On Fri, 8 Dec 2006 01:56:15 -0800 Ask Bjørn Hansen <[EMAIL PROTECTED]>
wrote:
> >> On Dec 5, 2006, at 9:29, Hanno Hecker wrote:
> >>
> >>> - body_length() - returns the current length of the body of the
> >>> email
> >>> (including the empty line between header and body), no matter
> >if >> it's spooled to disk or not. This is not the same as
> >body_size >> (),
> >>> which returns the size of the full message, as received by the
> >>> client.
> >>
> >> Maybe we should rename body_size to message_(length|size)? (Of
> >> course keep body_size working, but deprecating it...)
> >
> > I think I'd prefer data_size, to correspond to the SMTP command.
>
> I like that.
>
> Hanno, will you take care of that?
Yes, full patch is nearly done.
What should be done with body_size()? Add a
$self->log(LOGWARN, "body_size() is depreceated, "
."use data_size() instead");
or do that later?
Hanno