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 ' | ||
+ | |||
+ | 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, | ||
+ | |||