|
RDOActions collection represents all
the specialized actions (RDOAction) that can be
executed on a message.
Returned by:
RDOMail.Actions
The example below creates a message
with a custom action and sends it to the specified recipient:
et Session =
CreateObject("Redemption.RDOSession")
Session.Logon
set Mail = Session.GetDefaultFolder(olFolderOutbox).Items.Add("IPM.Note")
Mail.Subject = "test Redemption action"
Mail.Body = "test body"
Mail.Recipients.Add "user@domain.com"
set action = Mail.Actions.Add
action.name = "Test respond"
action.copylike = olRespond
action.enabled = true
action.messageclass = "IPM.Note"
'the message class to be used when the action is invoked
action.prefix = "TEST"
'Subject prefix
action.ReplyStyle = olEmbedOriginalItem
'original message will be embedded
action.ResponseStyle = olPrompt
'prompt when the action is invoked
action.ShowOn = olMenuAndToolbar
'show the action on both the popup menu and the Inspector toolbar
Mail.Send |
Properties
Methods
|
Derived from:
IDispatch
|
|
Properties |
|
Count |
Integer, read-only. Returns
the number of actions available on a message.
|
|
_Item[Index] |
Returns
RDOAction representing an action with a
given index.
Default property.
Index - variant,
either an integer (1 through Count) or a string (name of the action).
|
|
|
Methods |
|
Add |
Adds and returns a new action
(RDOAction)
|
see example above |
Item(Index) |
Returns
RDOAction representing an action with a
given index.
Index - variant,
either an integer (1 through Count) or a string (name of the action).
|
|
Remove(Index) |
Removes an action with the
specified index
Index - integer, 1
through Count |
|
|
|