reference:vpop3.getmessagepart

VPOP3.GetMessagePart

The Lua function 'VPOP3.GetMessagePart' retrieves 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 requested MIME part (if found, blank otherwise). This includes the MIME section header as well as the content

The returned text is not decoded - eg quoted printable decoding or Base64 decoding

reference/vpop3.getmessagepart.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1