Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenegriffin committed Jun 7, 2022
1 parent ed2cbfe commit 24cdf8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Because MHA requires the ReadWriteMailbox permission it can only be installed by
11. You can now edit who the add-in is available for

## A Note on Permissions
In order to get the transport message headers I have to use the EWS [makeEwsRequestAsync](https://dev.office.com/reference/add-ins/outlook/1.5/Office.context.mailbox?product=outlook&version=v1.5#makeewsrequestasyncdata-callback-usercontext) method, which requires the ReadWriteMailbox permission level. See the article [Understanding Outlook add-in permissions](https://dev.office.com/docs/add-ins/outlook/understanding-outlook-add-in-permissions) for more on this. If I could request fewer permissions I would, since I only ever read the one property, but I have no choice in the matter.
In order to get the transport message headers I have to use the EWS [makeEwsRequestAsync](https://docs.microsoft.com/en-us/javascript/api/outlook/office.mailbox?view=outlook-js-preview&preserve-view=true#outlook-office-mailbox-makeewsrequestasync-member(1)) method, which requires the ReadWriteMailbox permission level. See the article [Understanding Outlook add-in permissions](https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions) for more on this. If I could request fewer permissions I would, since I only ever read the one property, but I have no choice in the matter.

When REST is more widely available, and a few REST specific bugs are fixed, I'll be able to switch to REST and request a lower permission level.

Expand All @@ -36,4 +36,4 @@ For both IOS and Android click open an email, then press the three dots under th
## Development & Custom Deployment
- Clone the repo to your local drive
- npm install
- npm start
- npm start

0 comments on commit 24cdf8f

Please sign in to comment.