On Tue, 02 Aug 2011 19:27:43 +0200
"Rolf E. Sonneveld" <[email protected]> wrote:

> I was trying to achieve the following. For some reasons of
> flexbility, I'd like to postpone the final decisions regarding the
> disposition of all the bodyparts of a message, to the final
> filter_end stage. So I thought it would be good to build an array
> containing all bodyparts during the 'filter' phase, so I can access
> that array during the final filter_end processing.

You don't need to do that.  filter_end is passed an $entity which is a
reference to a MIME::Entity.  You can traverse this entity to do
whatever you need (though you'll need to traverse it recursively.)

You'll need to carefully read the MIME::Entity, MIME::Head and MIME::Body
man pages.

Regards,

David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to