User Tools

Site Tools


reference:vpop3.messageseek

VPOP3.MessageSeek

The Lua function 'VPOP3.MessageSeek' sets an internal read pointer to the specified location of the message 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 - offset to seek to

The function returns one value:

  1. true if the internal pointer could be positioned as requested, false if it couldn't (eg if it is pointing beyond the end of the message)

The VPOP3.GetMessageLines reads message content from the internal pointer's position and moves the internal pointer through the file. The MessageSeek function set this internal pointer to the specified location in the message

reference/vpop3.messageseek.txt · Last modified: 2018/11/14 10:45 (external edit)