info.mailtraq.com > Management > Script Functions A-Z > MimeDeleteParts() MimeDeleteParts()Removes all instances of a specified mime entity from a trigger message.
MimeDeleteParts( Content-Type )
- Content-Type
- A string consisting of a valid single mime type/subtype entity
Remove all image/gif mime entities from the trigger message
MimeDeleteParts("image/gif")
Remove all text/html mime entities from the trigger message
MimeDeleteParts("text/html")
Mime type/subtype entities (the mime namespace) are registered by IANA. For further details see: ftp://ftp.isi.edu/in-notes/iana/assignments/media-types
Important Note: this function does not return a value to indicate success or failure. |