Reads a task in the task list of a Lotus Notes or Outlook messaging. To be read, this task must have been previously read (
TaskLast,
TaskPrevious,
TaskFirst or
TaskNext), added (
TaskAdd) or modified (
TaskModify).
Caution: This function cannot be used to read a task in the task list of an Outlook Express messaging.
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", "email/julia.nsf", ...
"C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
// Read the first task
TaskFirst(SessionID)
...
// Read this same task again
TaskRead(SessionID, mTask.ID)
Syntax
<Result> = TaskRead(<Session identifier> , <Task identifier>)
Remarks
The mTask.Out variable is used to find out whether a current task exists.