This shows you the differences between two versions of the page.
Previous revision | |||
— | reference:spamrules_statement_zipcontents [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Spam Filter Rules: ZipContents====== | ||
+ | ^Statement | ||
+ | ^Version | ||
+ | ^Purpose | ||
+ | The **ZipContents** statement requires a message section number and bag name, in the format | ||
+ | ZipContent <message section number> <bag name> | ||
+ | |||
+ | * If the message section doesn' | ||
+ | * If the message section does contain a ZIP attachment, then the bag will contain a list of the ZIP file contents in the format: '' | ||
+ | |||
+ | |||
+ | =====Example===== | ||
+ | The following example will iterate through the MIME sections and get the ZIP contents into a bag ' | ||
+ | < | ||
+ | ForEach MimeSection SectionInfo | ||
+ | | ||
+ | ${SectionId} = ${1} | ||
+ | ${SectionType} = ${3} | ||
+ | If ${SectionType} == " | ||
+ | | ||
+ | EndIf | ||
+ | EndIf | ||
+ | EndForEach | ||
+ | </ |