Re: delete part best practice
"Bill Cole" <[email protected]> Tue, 12 Dec 2017 21:09:32 -0500
| Newsgroups | gmane.mail.mimedefang |
|---|---|
| Message-ID | <[email protected]> |
On 12 Dec 2017, at 19:03 (-0500), Amit Gupta wrote: > Given a parent entity and child entity, what's the best way to delete > the child entity? I see code that clears all parts for an entity and > then selectively adds them back in. I would like to scan through and > selectively remove instead. See the man page for mimedefang-filter, specifically the description of "action_drop" which you would call from your filter() implementation when you deem a part worthy of dropping. -- Bill Cole [email protected] or [email protected] (AKA @grumpybozo and many *@billmail.scconsult.com addresses) Currently Seeking Steady Work: https://linkedin.com/in/billcole _______________________________________________ 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