User Tools

Site Tools



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

Link to this comparison view

reference:vpop3.getmessagepartbody [2018/11/14 10:45] (current)
Line 1: Line 1:
 +The [[lua_scripting|Lua]] function '​VPOP3.GetMessagePartBody'​ retrieves the content of a MIME part of the message currently being processed.
 +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 one parameter:
 +  - The MIME part '​Path'​ from the MimeStructure parameter to the ProcessMessage function
 +The function returns two values:
 +  - boolean - '​true'​ if the MIME part was found, '​false'​ otherwise
 +  - string - contains the raw text of the content of the requested MIME part (if found, blank otherwise)
 +The returned text is //not// decoded - eg quoted printable decoding or Base64 decoding
reference/vpop3.getmessagepartbody.txt ยท Last modified: 2018/11/14 10:45 (external edit)