|
|
|
|
TaskAdd (Function) In french: TâcheAjoute Adds a task to the task list of a Lotus Notes or Outlook messaging. The Task structure is used to define the data of this task. Caution: This function cannot be used to add a task to 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") // Initialize the variables of the Task structure TaskReset() // Fill the variables for the new appointment mTask.Subject = "New task" mTask.StartDate = "20070125100000" mTask.NbParticipant = 3 mTask.Participant[1] = "Roman" mTask.Participant[2] = "Lucas" mTask.Participant[3] = "Stephen" // Add the task IF TaskAdd(SessionID) = True THEN Info("Task successfully added") ELSE Error("Error during the addition", ErrorInfo()) END
Syntax
<Result> = TaskAdd(<Session identifier>)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|