User Tools

Site Tools


reference:vpop3.messageseek

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
reference:vpop3.messageseek [2013/07/10 10:04]
paul created
reference:vpop3.messageseek [2018/11/14 10:45] (current)
Line 1: Line 1:
 ======VPOP3.MessageSeek===== ======VPOP3.MessageSeek=====
-The [[lua_scripting|Lua]] function '​VPOP3.MessageSeek' ​resets and internal read pointer to the start of the message being processed+The [[lua_scripting|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 [[lua POP3 client script|POP3CLT.LUA]] or [[lua SMTP server script|SMTPSVR.LUA]] scripts. This function is only available in the **ProcessMessage** function of the [[lua POP3 client script|POP3CLT.LUA]] or [[lua SMTP server script|SMTPSVR.LUA]] scripts.
Line 10: Line 10:
   - 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)   - 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+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)