Skip to content

Commit 82e4458

Browse files
[All hosts] Get latest (#2383)
1 parent 4a3da07 commit 82e4458

File tree

28 files changed

+1111
-46
lines changed

28 files changed

+1111
-46
lines changed

docs/docs-ref-autogen/outlook/outlook.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ interfaces:
1919
- outlook!Office.CoercionTypeOptions:interface
2020
- outlook!Office.Contact:interface
2121
- outlook!Office.CustomProperties:interface
22+
- outlook!Office.DecryptedMessageAttachment:interface
23+
- outlook!Office.DecryptedMessageBody:interface
2224
- outlook!Office.DelayDeliveryTime:interface
2325
- outlook!Office.Diagnostics:interface
2426
- outlook!Office.Display:interface
@@ -55,6 +57,7 @@ interfaces:
5557
- outlook!Office.MeetingSuggestion:interface
5658
- outlook!Office.Message:interface
5759
- outlook!Office.MessageCompose:interface
60+
- outlook!Office.MessageDecryptEventCompletedOptions:interface
5861
- outlook!Office.MessageRead:interface
5962
- outlook!Office.NotificationMessageAction:interface
6063
- outlook!Office.NotificationMessageDetails:interface

docs/docs-ref-autogen/outlook/outlook/office.attachmentdetailscompose.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,12 @@ properties:
129129
**Important**:
130130
131131
132-
- The `contentId` property is only supported in Outlook on the web and the
133-
new Outlook on Windows.
132+
- The `contentId` property is only supported in Outlook on the web and
133+
Outlook on Windows (new and classic (preview)). To preview the `contentId`
134+
property in classic Outlook on Windows, your Outlook client must run
135+
Version 2510 (Build 19312.20000) or later and must be on the Beta Channel.
136+
For more information, see [Microsoft 365 Insider
137+
Program](https://aka.ms/Msft365InsiderProgram)<!-- -->.
134138
135139
136140
- Starting November 15, 2025, changes to how inline images are represented
Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
### YamlMime:TSType
2+
name: Office.DecryptedMessageAttachment
3+
uid: outlook!Office.DecryptedMessageAttachment:interface
4+
package: outlook!
5+
fullName: Office.DecryptedMessageAttachment
6+
summary: Represents an attachment in a decrypted message.
7+
remarks: >-
8+
\[ [API set: Mailbox
9+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
10+
\]
11+
12+
13+
**[Minimum permission
14+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
15+
-->**: **read/write item**
16+
17+
18+
**[Applicable Outlook
19+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
20+
-->**: Message Read
21+
22+
23+
To learn how to develop an encryption add-in in Outlook, see [Create an
24+
encryption Outlook
25+
add-in](https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption)<!--
26+
-->.
27+
28+
isPreview: true
29+
isDeprecated: false
30+
type: interface
31+
properties:
32+
- name: attachmentType
33+
uid: outlook!Office.DecryptedMessageAttachment#attachmentType:member
34+
package: outlook!
35+
fullName: attachmentType
36+
summary: Specifies the type of attachment.
37+
remarks: >-
38+
\[ [API set: Mailbox
39+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
40+
\]
41+
42+
43+
**[Minimum permission
44+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
45+
-->**: **read/write item**
46+
47+
48+
**[Applicable Outlook
49+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
50+
-->**: Message Read
51+
52+
isPreview: true
53+
isDeprecated: false
54+
syntax:
55+
content: 'attachmentType: MailboxEnums.AttachmentType;'
56+
return:
57+
type: <xref uid="outlook!Office.MailboxEnums.AttachmentType:enum" />
58+
- name: content
59+
uid: outlook!Office.DecryptedMessageAttachment#content:member
60+
package: outlook!
61+
fullName: content
62+
summary: Specifies the Base64-encoded content of the attachment.
63+
remarks: >-
64+
\[ [API set: Mailbox
65+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
66+
\]
67+
68+
69+
**[Minimum permission
70+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
71+
-->**: **read/write item**
72+
73+
74+
**[Applicable Outlook
75+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
76+
-->**: Message Read
77+
78+
79+
**Important**: The `content` property isn't supported by attachments
80+
of type `MailboxEnums.AttachmentType.Cloud`<!-- -->.
81+
82+
isPreview: true
83+
isDeprecated: false
84+
syntax:
85+
content: 'content: string;'
86+
return:
87+
type: string
88+
- name: contentId
89+
uid: outlook!Office.DecryptedMessageAttachment#contentId:member
90+
package: outlook!
91+
fullName: contentId
92+
summary: >-
93+
Specifies the content identifier of an inline attachment.
94+
95+
96+
The `contentId` property must be specified if `isInline` is set to
97+
`true`<!-- -->.
98+
remarks: >-
99+
\[ [API set: Mailbox
100+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
101+
\]
102+
103+
104+
**[Minimum permission
105+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
106+
-->**: **read/write item**
107+
108+
109+
**[Applicable Outlook
110+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
111+
-->**: Message Read
112+
113+
114+
**Important**: When images are added to a message as inline
115+
attachments, they're automatically assigned a content ID. In the body of a
116+
message, the content ID of an inline attachment is specified in the `src`
117+
attribute of the `<img>` element (for example, `<img width=96 height=96
118+
id="Picture_1" src="cid:image001.png@01DC1E6F.FC7C7410">`<!-- -->). To
119+
easily identify and provide these inline attachments during decryption, we
120+
recommend saving the content IDs of inline attachments to the message
121+
header during encryption. Call
122+
`Office.context.mailbox.item.getAttachmentsAsync` to get the content ID of
123+
an inline attachment. Then, call
124+
`Office.context.mailbox.item.internetHeaders.setAsync` to save the ID to
125+
the header of the message.
126+
127+
isPreview: true
128+
isDeprecated: false
129+
syntax:
130+
content: 'contentId?: string;'
131+
return:
132+
type: string
133+
- name: isInline
134+
uid: outlook!Office.DecryptedMessageAttachment#isInline:member
135+
package: outlook!
136+
fullName: isInline
137+
summary: >-
138+
If true, specifies that the decrypted attachment appears as an image in
139+
the body of the message instead of in the attachment list. If the
140+
`isInline` property isn't specified, its value is set to false.
141+
remarks: >-
142+
\[ [API set: Mailbox
143+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
144+
\]
145+
146+
147+
**[Minimum permission
148+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
149+
-->**: **read/write item**
150+
151+
152+
**[Applicable Outlook
153+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
154+
-->**: Message Read
155+
156+
isPreview: true
157+
isDeprecated: false
158+
syntax:
159+
content: 'isInline?: boolean;'
160+
return:
161+
type: boolean
162+
- name: name
163+
uid: outlook!Office.DecryptedMessageAttachment#name:member
164+
package: outlook!
165+
fullName: name
166+
summary: Specifies the name of the attachment.
167+
remarks: >-
168+
\[ [API set: Mailbox
169+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
170+
\]
171+
172+
173+
**[Minimum permission
174+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
175+
-->**: **read/write item**
176+
177+
178+
**[Applicable Outlook
179+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
180+
-->**: Message Read
181+
182+
isPreview: true
183+
isDeprecated: false
184+
syntax:
185+
content: 'name: string;'
186+
return:
187+
type: string
188+
- name: path
189+
uid: outlook!Office.DecryptedMessageAttachment#path:member
190+
package: outlook!
191+
fullName: path
192+
summary: >-
193+
Specifies the URL reference path of the attachment if its type is
194+
`MailboxEnums.AttachmentType.Cloud`<!-- -->. The `path` property must be
195+
specified for attachments of type `MailboxEnums.AttachmentType.Cloud`<!--
196+
-->.
197+
remarks: >-
198+
\[ [API set: Mailbox
199+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
200+
\]
201+
202+
203+
**[Minimum permission
204+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
205+
-->**: **read/write item**
206+
207+
208+
**[Applicable Outlook
209+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
210+
-->**: Message Read
211+
212+
isPreview: true
213+
isDeprecated: false
214+
syntax:
215+
content: 'path?: string;'
216+
return:
217+
type: string
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
### YamlMime:TSType
2+
name: Office.DecryptedMessageBody
3+
uid: outlook!Office.DecryptedMessageBody:interface
4+
package: outlook!
5+
fullName: Office.DecryptedMessageBody
6+
summary: Represents the body of a decrypted message.
7+
remarks: >-
8+
\[ [API set: Mailbox
9+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
10+
\]
11+
12+
13+
**[Minimum permission
14+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
15+
-->**: **read/write item**
16+
17+
18+
**[Applicable Outlook
19+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
20+
-->**: Message Read
21+
22+
23+
To learn how to develop an encryption add-in in Outlook, see [Create an
24+
encryption Outlook
25+
add-in](https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption)<!--
26+
-->.
27+
28+
isPreview: true
29+
isDeprecated: false
30+
type: interface
31+
properties:
32+
- name: coercionType
33+
uid: outlook!Office.DecryptedMessageBody#coercionType:member
34+
package: outlook!
35+
fullName: coercionType
36+
summary: >-
37+
Specifies the format of the body of a message. The body of a message can
38+
be formatted as `Office.CoercionType.Html` or
39+
`Office.CoercionType.Text`<!-- -->.
40+
remarks: >-
41+
\[ [API set: Mailbox
42+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
43+
\]
44+
45+
46+
**[Minimum permission
47+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
48+
-->**: **read/write item**
49+
50+
51+
**[Applicable Outlook
52+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
53+
-->**: Message Read
54+
55+
isPreview: true
56+
isDeprecated: false
57+
syntax:
58+
content: 'coercionType: Office.CoercionType;'
59+
return:
60+
type: <xref uid="office!Office.CoercionType:enum" />
61+
- name: content
62+
uid: outlook!Office.DecryptedMessageBody#content:member
63+
package: outlook!
64+
fullName: content
65+
summary: Specifies the content displayed in the body of the message.
66+
remarks: >-
67+
\[ [API set: Mailbox
68+
preview](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
69+
\]
70+
71+
72+
**[Minimum permission
73+
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
74+
-->**: **read/write item**
75+
76+
77+
**[Applicable Outlook
78+
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
79+
-->**: Message Read
80+
81+
isPreview: true
82+
isDeprecated: false
83+
syntax:
84+
content: 'content: string;'
85+
return:
86+
type: string

docs/docs-ref-autogen/outlook/outlook/office.mailboxevent.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ summary: >-
99
activation](https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation)<!--
1010
-->, including [Smart
1111
Alerts](https://learn.microsoft.com/office/dev/add-ins/outlook/onmessagesend-onappointmentsend-events)<!--
12-
-->, or the [integrated spam-reporting
12+
-->, the [integrated spam-reporting
1313
feature](https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting)<!--
14-
-->. It allows the add-in to signify to the Outlook client that it has
14+
-->, or
15+
[decryption](https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption)
16+
(preview). It allows the add-in to signify to the Outlook client that it has
1517
completed processing an event.
1618
remarks: >-
1719
\[ [API set: Mailbox
@@ -57,8 +59,8 @@ methods:
5759
package: outlook!
5860
fullName: completed(options)
5961
summary: >-
60-
Indicates that the event-based or spam-reporting add-in has completed
61-
processing an event.
62+
Indicates that the event-based, spam-reporting, or decryption (preview)
63+
add-in has completed processing an event.
6264
remarks: >-
6365
\[ [API set: Mailbox
6466
1.10](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets)
@@ -122,17 +124,22 @@ methods:
122124
syntax:
123125
content: >-
124126
completed(options?: SmartAlertsEventCompletedOptions |
125-
SpamReportingEventCompletedOptions): void;
127+
SpamReportingEventCompletedOptions |
128+
MessageDecryptEventCompletedOptions): void;
126129
parameters:
127130
- id: options
128131
description: >-
129-
Optional. An object that specifies the behavior of an event-based or
130-
spam-reporting add-in when it completes processing an event.
132+
Optional. An object that specifies the behavior of an event-based,
133+
spam-reporting, or decryption add-in when it completes processing an
134+
event.
131135
type: >-
132136
<xref
133137
uid="outlook!Office.SmartAlertsEventCompletedOptions:interface" /> |
134138
<xref
135139
uid="outlook!Office.SpamReportingEventCompletedOptions:interface" />
140+
| <xref
141+
uid="outlook!Office.MessageDecryptEventCompletedOptions:interface"
142+
/>
136143
return:
137144
type: void
138145
description: ''

0 commit comments

Comments
 (0)