In filter and filter_multipart, I'm trying to add a header with the filename for each attachment ... the problem, though, is that not all of the mime parts are attachments. Messages coming in with text/html for the body, for example, are getting a blank header added to them (because there's no filename, because it's not an attachment).

So, how do I ask the $entity if it's an attachment, an inline, or something else?

Thanks


John

_______________________________________________
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