This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| reference:attachment_extraction_script [2016/03/04 14:26] – created paul | reference: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 ' | ||
| (Added in V6.17) | (Added in V6.17) | ||
| Line 10: | Line 12: | ||
| For every message VPOP3 loads the script file, then for each (non-virus) attachment it calls | For every message VPOP3 loads the script file, then for each (non-virus) attachment it calls | ||
| Extract(attachmentname, | Extract(attachmentname, | ||
| - | | + | |
| * attachmentname - the filename of the attachment in the message | * attachmentname - the filename of the attachment in the message | ||
| * sender - the email address of the sender | * sender - the email address of the sender | ||
| 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 | + | The functions return two values: |
| - an ' | - an ' | ||
| - | - the directory to save the attachment to (if // | + | - the directory to save the attachment to (if // |
| ===Example=== | ===Example=== | ||