User Tools

Site Tools


reference:vpop3.saveattachment

Differences

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

Link to this comparison view

reference:vpop3.saveattachment [2018/11/14 10:45] (current)
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 (external edit)