Part’s parent content-type

Amit Gupta <[email protected]> Fri, 3 Nov 2017 22:37:46 -0700
Newsgroups gmane.mail.mimedefang
Message-ID <[email protected]>
When iterating through the parts of a MIME::Entity using parts_DFS, what would be the best way to get a reference to a part’s parent entity or parent entity type? I’m trying to do some logic on an HTML part depending on if the parent type is multipart/related or not.  I was thinking of just setting a variable as I iterate through the parts, but it can get tricky if I don’t know the depth level I’m at. 
_______________________________________________
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