MessageAttachment 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 add-in only 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
Attributes
Attribute | Required | Description |
---|---|---|
AttachmentExtension | Yes | Specifies the file extension of the attachment included in a message on which the OnMessageReadWithCustomAttachment event occurs. The file extension value is limited to 50 characters and must not include a period. |
Child elements
None.
See also
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.