SafeTaskItem object

 

SafeTaskItem object exposes Outlook.TaskItem object properties and methods blocked by the security patch.

 

The example below outputs the owner name of each task in the default Tasks folder:

set App = CreateObject("Outlook.Application")
set Folder = Application.Session.GetDefaultFolder(olFolderTasks)
set SafeTaskItem = CreateObject("Redemption.SafeTaskItem")
for each item in Folder.Items
    SafeTaskItem.Item = item
    Debug.Print SafeTaskItem.Owner

next

 


Derived from: SafeItem

The following properties and method are inherited from the SafeItem object:

 

Attachments, Auth, Key, Body, Fields, Item, Recipients, RTFBody, Sender, Version

CopyTo, GetIDsFromNames, Import, SaveAs, Send


Properties


ContactNames

Sets a String representing the contact names associated with the task item or journal entry. Read-only.

 

 
Contacts

Returns an array of String representing the contact names associated with the task item or journal entry. Read-only

 

 

 
Delegator

Returns a String representing the display name of the delegator for the task. Read-only.

 

 
HTMLBody Returns or sets a String representing the HTML body of the specified item. The HTMLBody property should be an HTML syntax string. Read-only.
 
IsDirty Returns TRUE if the Outlook object assigned to the Item property has unsaved changes.
 
Owner

Returns indicating the owner for the task.

Read-only

 

 
StatusOnCompletionRecipients
Returns a semicolon-delimited String of display names for recipients who will receive status upon completion of the task. This property is calculated from the Recipients property. Recipients returned by the StatusOnCompletionRecipients property correspond to BCC recipients in the Recipients collection. Read-only.
 
StatusUpdateRecipients
Returns a semicolon-delimited String of display names for recipients who receive status updates for the task. This property is calculated from the Recipients property. Recipients returned by the StatusUpdateRecipients property correspond to CC recipients in the Recipients collection. Read-only.