User Tools

Site Tools


reference:attachment_extraction_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reference:attachment_extraction_script [2016/05/19 10:40] paulreference:attachment_extraction_script [2018/11/14 10:45] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ======Attachment Extraction Scripting====== ======Attachment Extraction Scripting======
 +
 +This is the 'extraction.lua' script.
  
 (Added in V6.17) (Added in V6.17)
Line 17: Line 19:
   * targetdirectory - the target directory determined by the VPOP3 settings   * targetdirectory - the target directory determined by the VPOP3 settings
      
-The functions return two values:+The functions return two values:
   - an 'operation' id : 0 = don't save the attachment to file, and leave it in the message, 1 = save the attachment and delete it from the message, 2 = save the attachment and leave it in the message   - an 'operation' id : 0 = don't save the attachment to file, and leave it in the message, 1 = save the attachment and delete it from the message, 2 = save the attachment and leave it in the message
   - the directory to save the attachment to (if //operation// <> 0). This can just be 'targetdirectory' or something else. (In v6.20 and later this can contain the standard expansions for the extraction directory)   - the directory to save the attachment to (if //operation// <> 0). This can just be 'targetdirectory' or something else. (In v6.20 and later this can contain the standard expansions for the extraction directory)
reference/attachment_extraction_script.1463654423.txt.gz · Last modified: 2018/11/14 10:44 (external edit)