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/write. Returns or sets 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/write. Address type of the entry, e.g. "SMTP" or "EX".

 

 

DisplayAs

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

 

 

EntryID

String, read/write The hex representation of the entry id of the address entry.

Can be used to call .RDOSession.GetAddressEntryFromID.

 

 

Fields[PropTag]

Variant, read/write. Returns or sets 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/write. The recipient's name.

 

 

RecipientType

rdoMailRecipientType, read/write, represents the recipient type.

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

 

 

SMTPAddress

String, read/write. The SMTP address of the entry.

 

 

Weight Integer, read/write. Returns a or sets the value representing weight of the nickname. Entries with the higher weight appear at the top of the autocomplete list in Outlook.
 

Methods


Delete
Deletes the nickname from the auto complete list.
 

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.