User Tools

Site Tools


reference:vpop3.getmessagepartbody
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.getmessagepartbody [2018/11/14 10:45] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +======VPOP3.GetMessagePartBody=====
 +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 by 127.0.0.1