SafeContactItem object

 

SafeContactItem object exposes Outlook.ContactItem object properties and methods blocked by the security patch.

 

 

The example below outputs the Email1Address property of each contact in the default Contacts folder:

set App = CreateObject("Outlook.Application")
set ContactsFolder = Application.Session.GetDefaultFolder(olFolderContacts)
set SafeContact = CreateObject("Redemption.SafeContactItem")
for each OutlookContact in ContactsFolder.Items
   
SafeContact.Item = OutlookContact
   
Debug.Print SafeContact.Email1Address
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


Email1Address

Returns a String representing the e-mail address of the first e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email1AddressType

Returns a String representing the type of the e-mail address of the first e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email1DisplayName

Returns a String representing the display name of the first e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email1EntryID

Returns a String representing the entry id of the first e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email2Address

Returns a String representing the e-mail address of the second e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email2AddressType

Returns a String representing the type of the e-mail address of the second e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email2DisplayName

Returns a String representing the display name of the second e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email2EntryID

Returns a String representing the entry id of the second e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email3Address

Returns a String representing the e-mail address of the third e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email3AddressType

Returns a String representing the type of the e-mail address of the third e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email3DisplayName

Returns a String representing the display name of the third e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
Email3EntryID

Returns a String representing the entry id of the third e-mail entry for the contact. Read-only.

Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.

 

 
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.
 
IMAddress Returns a String that represents a contact's Microsoft Instant Messenger address. Read-only.
Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.
 
IsDirty Returns TRUE if the Outlook object assigned to the Item property has unsaved changes.
 
NetMeetingAlias Returns String indicating the user's Microsoft NetMeeting ID, or alias. Read-only.
Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.
 
ReferredBy Returns a String specifying the referral name entry for the contact. Read-only.
Note: Since Outlook only blocks reading of this property, Redemption only implements the read accessor. To set this property, use the original Outlook Item assigned to the Item property or use late binding.