On November 4, 2017 9:25:20 PM EDT, Amit Gupta <amit...@gmail.com> wrote: >Thank you Dianne! This is going to sound silly, but what I'm looking >for is a function like
>$parent_part = get_parent ($top_entity, $part); No such function exists. That's why you have to do it the way I illustrated. You could probably use the framework I posted to write such a function, but I would rethink what you're trying to do to make it fit more naturally into the recursive MIME structure. You are thinking non-recursively when you request such a function. Regards, Dianne. _______________________________________________ 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 MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang