Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
To specify the way that Outlook responds when executing an action
In the form region manifest XML file, specify the action as a child action element of the customActions element for that form region.
Specify the internal name of the action as the value of the name attribute of the action element.
Specify a value for the child method element of the action element.
The following example assigns replyToBlog as the internal name of a custom action, and specifies that Outlook will prompt the user to determine if he or she wants to open the resulting item now or send the item immediately:
<customActions>
<action name="replyToBlog">
<method>prompt</method>
<!-- Further characterize this action -->
</action>
</customActions>
Note that the child method element of the action element can contain one of the following values:
| Value | Description |
|---|---|
| open | Outlook will open the resulting item in the inspector for the user to edit. |
| prompt | Outlook will prompt the user whether to open the resulting item now or send it immediately. |
| send | Outlook will send the resulting item automatically. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.