Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Office JS API for checking if email is encrypted or not #5133

Open
pza-dev-brcm opened this issue Nov 26, 2024 · 1 comment
Open

Office JS API for checking if email is encrypted or not #5133

pza-dev-brcm opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins Needs: author feedback Waiting for author (creator) of Issue to provide more info Type: product feature request Office JS ideas that should be posted to aka.ms/m365dev-suggestions (formerly User Voice.)

Comments

@pza-dev-brcm
Copy link

We are using ItemSend event in outlook add-in; In which we monitor email contents like - subject, body, recipients, attachments and based on policies defined we decide whether to allow or block the email.

As per our requirement, we want to know if the email is encrypted.
Also it will be helpful if we get more information like if the email is encrypted then with which flag it is encrypted like (Encrypt Only / Do Not Forward / SMIME) ?

Is there any API currently available for this in Office JS?

Note:
Currently add-in get's invoked if email is encrypted with (Encrypt Only / Do Not Forward).
We want to somehow know in the add-in that email is encrypted.

Environment
Platform [PC desktop, Mac, iOS, Office on the web]: PC desktop, On the web
Host [Excel, Word, PowerPoint, etc.]: New outlook
Office version number: You have Microsoft Outlook Version 1.2024.708.100 (Production). Client Version is 20240712002.10
webview2 version is 126.0.2592.113
Operating System: win 11
Browser (if using Office on the web): Chrome

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Nov 26, 2024
@pza-dev-brcm pza-dev-brcm changed the title Supporting API for checking if email is encrypted or not Office JS API for checking if email is encrypted or not Nov 26, 2024
@exextoc exextoc added Needs: attention 👋 Waiting on Microsoft to provide feedback Area: Outlook Issue related to Outlook add-ins and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Nov 26, 2024
@exextoc exextoc self-assigned this Nov 26, 2024
@rkpathak rkpathak added Type: product feature request Office JS ideas that should be posted to aka.ms/m365dev-suggestions (formerly User Voice.) Needs: author feedback Waiting for author (creator) of Issue to provide more info and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Nov 26, 2024
@rkpathak
Copy link

At present, the feature to retrieve the email's encryption status is not available as part of Office.js API set. You can find all the supported APIs using link https://learn.microsoft.com/en-us/javascript/api/overview?view=outlook-js-1.14
We track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins Needs: author feedback Waiting for author (creator) of Issue to provide more info Type: product feature request Office JS ideas that should be posted to aka.ms/m365dev-suggestions (formerly User Voice.)
Projects
None yet
Development

No branches or pull requests

3 participants