[Mimedefang] documentation bug/omission for newbies
starlight.2016q2 at binnacle.cx
starlight.2016q2 at binnacle.cx
Mon Apr 18 15:32:37 EDT 2016
>On Sun, 17 Apr 2016 17:42:31 -0400
>starlight.2016q2 at binnacle.cx wrote:
>>
>> my $bdyscn_flag = 0;
>> my $part0 = $entity->parts(0);
>> ... elaborate code omitted
>
>But that's a rather roundabout way to do it; just do your single-part
>processing inside filter() instead of filter_begin()
Hmm, I don't see how that works. The filter() method is described as being called for each part where I want to examine just the body, explicitly disregard subsequent parts and attachments. Also I don't see any simplified message body access in the parameters to filter() and haven't come across an example. Would appreciate a pointer to one.
Thank you for your reply.
Kind Regards
More information about the MIMEDefang
mailing list