VPOP3.GetMessagePartBody

The 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 POP3CLT.LUA or SMTPSVR.LUA scripts.

It takes one parameter:

  1. The MIME part 'Path' from the MimeStructure parameter to the ProcessMessage function

The function returns two values:

  1. boolean - 'true' if the MIME part was found, 'false' otherwise
  2. 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