MessageAttachments element (preview)
Configures your event-based add-in to activate on the OnMessageReadWithCustomAttachment
event.
Add-in type: Mail
Valid only in these VersionOverrides schemas:
- Mail 1.1
For more information, see Version overrides in the manifest.
Syntax
<ExtensionPoint xsi:type="LaunchEvent">
<LaunchEvents>
<LaunchEvent Type="OnMessageReadWithCustomAttachment" FunctionName="onMessageReadWithCustomAttachmentHandler">
<MessageAttachments>
<MessageAttachment AttachmentExtension="xml"/>
<MessageAttachment AttachmentExtension="json"/>
</MessageAttachments>
</LaunchEvent>
</LaunchEvents>
<!-- Identifies the runtime to be used (also referenced by the Runtime element). -->
<SourceLocation resid="WebViewRuntime.Url"/>
</ExtensionPoint>
Contained in
- LaunchEvent (when the
Type
attribute is set toOnMessageReadWithCustomAttachment
)
Attributes
None.
Child elements
Element | Required | Description |
---|---|---|
MessageAttachment | Yes | Configures your add-in to activate on the OnMessageReadWithCustomAttachment event. You can specify a maximum of two <MessageAttachment> elements in your manifest. |
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for