Deletes the current task from the task list of a Lotus Notes or Outlook messaging.
Caution: This function cannot be used to delete the current task from 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)
// Delete this task
TaskDelete(SessionID)
Syntax
<Result> = TaskDelete(<Session identifier>)