Skip to content

Commit 3e680b9

Browse files
[office-js][office-js-preview] (Outlook) Clarify values returned by from and sender properties (DefinitelyTyped#74298)
1 parent fdce386 commit 3e680b9

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

types/office-js-preview/index.d.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17430,7 +17430,8 @@ declare namespace Office {
1743017430
* **Important**:
1743117431
*
1743217432
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
17433-
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
17433+
* In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
17434+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
1743417435
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
1743517436
*
1743617437
* - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
@@ -17641,7 +17642,8 @@ declare namespace Office {
1764117642
* **Important**:
1764217643
*
1764317644
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
17644-
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
17645+
* In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
17646+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
1764517647
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
1764617648
*
1764717649
* - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.
@@ -21744,7 +21746,8 @@ declare namespace Office {
2174421746
* **Important**:
2174521747
*
2174621748
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
21747-
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
21749+
* In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
21750+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
2174821751
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
2174921752
*
2175021753
* - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
@@ -21944,7 +21947,8 @@ declare namespace Office {
2194421947
* **Important**:
2194521948
*
2194621949
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
21947-
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
21950+
* In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
21951+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
2194821952
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
2194921953
*
2195021954
* - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.

types/office-js/index.d.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16892,7 +16892,8 @@ declare namespace Office {
1689216892
* **Important**:
1689316893
*
1689416894
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
16895-
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
16895+
* In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
16896+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
1689616897
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
1689716898
*
1689816899
* - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
@@ -17103,7 +17104,8 @@ declare namespace Office {
1710317104
* **Important**:
1710417105
*
1710517106
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
17106-
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
17107+
* In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
17108+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
1710717109
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
1710817110
*
1710917111
* - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.
@@ -21086,7 +21088,8 @@ declare namespace Office {
2108621088
* **Important**:
2108721089
*
2108821090
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
21089-
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
21091+
* In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
21092+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
2109021093
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
2109121094
*
2109221095
* - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
@@ -21286,7 +21289,8 @@ declare namespace Office {
2128621289
* **Important**:
2128721290
*
2128821291
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
21289-
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
21292+
* In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
21293+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
2129021294
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
2129121295
*
2129221296
* - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.

0 commit comments

Comments
 (0)