This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
reference:attachment_processing_script [2018/06/28 09:41] – created paul | reference:attachment_processing_script [2018/06/28 10:04] – paul | ||
---|---|---|---|
Line 10: | Line 10: | ||
* IsLockNeeded | * IsLockNeeded | ||
* RewriteAttachment | * RewriteAttachment | ||
+ | |||
+ | ====NeedsRecode==== | ||
+ | function NeedsRecode(filtervariables, | ||
+ | |||
+ | Called when VPOP3 is about to process a message | ||
+ | |||
+ | returns true if the Lua script wants to alter any of the attachments of the whole message | ||
+ | |||
+ | ====NeedsRewrite==== | ||
+ | function NeedsRewrite(attachmentname, | ||
+ | |||
+ | Called when VPOP3 is about to process an attachment in a message (Only called if ' | ||
+ | |||
+ | returns true if the Lua script wants to rewrite/ | ||