This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
reference:attachment_extraction_script [2016/03/04 14:26] – created paul | reference:attachment_extraction_script [2016/07/06 12:14] – paul | ||
---|---|---|---|
Line 10: | Line 10: | ||
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 17: | ||
* 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=== |