User Tools

Site Tools


reference:vpop3.saveattachment
no way to compare when less than two revisions

Differences

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


Previous revision
reference:vpop3.saveattachment [2018/11/14 10:45] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +======VPOP3.SaveAttachment=====
 +The [[lua_scripting|Lua]] function 'VPOP3.SaveAttachment' saves an attachment from the message being processed to a file
 +
 +This function is only available in the **ProcessMessage** function of the [[lua POP3 client script|POP3CLT.LUA]] or [[lua SMTP server script|SMTPSVR.LUA]] scripts.
 +
 +It takes two parameters:
 +  - number - attachment number to save
 +  - string - file name to save the file as
 +
 +The function returns one value:
 +  - boolean true if the file was saved successfully, false otherwise
 +
  
reference/vpop3.saveattachment.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1