Re: [exim] raw mime part size

Top Pagina
Delete this message
Reply to this message
Auteur: Jeremy Harris
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] raw mime part size
On 26/06/17 13:04, Wolfgang Breyha wrote:
> Since I need to
>    decode = $mime_filename
> a MIME part to get its (decoded) size in KByte in $mime_content_size I'm
> wondering if there is a way to get the raw size (preferable in bytes) of a
> MIME part at all and without decoding it.


Not at present - and there might not be much perf advantage in providing
it, as the mime parts are marker-bounded rather than sized, so working
out a raw size would still required scanning the message. We could
provide it as another result of the decode process.
--
Cheers,
Jeremy