User Tools

Site Tools



The Lua function 'VPOP3.GetMessageLines' retrieves content lines from 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. number - number of lines to retrieve

The function returns two values:

  1. number - the number of lines retrieved (this may be less than the requested number, eg if the end of the message was reached
  2. string - the lines being retrieved. These are not decoded in any way

The internal pointer is moved forwards through the file as appropriate. This can be reset using VPOP3.MessageReset or VPOP3.MessageSeek

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