VPOP3.GetMessagePartHeader

The Lua function 'VPOP3.GetMessagePartHeader' retrieves a MIME section header 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 section header