RDONickName object

 

RDONickName object represents a nickname used by the Outlook auto-completion edit box.

 

Returned by:

RDONickNames.Item

 

The example below enumerates nicknames from the the current profile

'all nicknames from the current profile
set Session = CreateObject("Redemption.RDOSession")
Session.Logon
set Nicknames = Session.GetNicknames
for each NickName in NickNames
    Debug.Print NickName.Name & " - " & NickName.SmtpAddress
next

 

Properties

Methods

 


Derived from: IDispatch


Properties


Address

String, read-only. Returns the entry's address. Note that the address can be of different types, it can be SMTP as well as EX - see AddressType and SMTPAddress properties below.

 

 

AddressType

String, read-only. Address type of the entry, e.g. "SMTP" or "EX".

 

 

DisplayAs

String, read-only. The name of the nickname as displayed in the Outlook UI, e.g. "Dmitry Streblechenko <dmitry@dimastr.com>"

 

 

EntryID

String, reda-only The hex representation of the entry id of the address entry.

Can be used to call .RDOSession.GetAddressEntryFromID.

 

 

Fields[PropTag]

Variant, read-only. Returns a value representing a particular MAPI property.

If the property with the given tag is not stored with the nickname entry, an empty variant will be returned.

 

PropTag - integer. MAPI property tag, e.g. PR_DISPLAY_NAME_W = 0x3001001F.

 

 

Name

String, read-only. The recipient's name.

 

 

RecipientType

rdoMailRecipientType, read-only, represents the recipient type.

One of the rdoMailRecipientType enums (olTo, olCC, olBCC).

 

 

SMTPAddress

String, read-only. The SMTP address of the entry.

 

 


Methods


GetAddressEntry

RDOAddressEntry, read-only. Returns address entry corresponding to the nickname. The same value can be retrieved by calling

RDOSession.GetAddressEntryFromID and passing the value of the EntryID property.