i want to display a message to the user (as an infobar for example) as soon as the user opens the mail. In the 'supported events' list i could not find an appropiate eventlistener that fires when a mail is opened. Does this event even exist? If yes, what is the name? If no, how else could i possibly achieve this task? It is a priority that i display an infobar and not set a category or any workaround like that.
Thanks in advance
I tried finding an appropiate eventlistener but could not find it.
Outlook activates some types of add-ins if the message or appointment that the user is reading or composing satisfies the activation rules of the add-in. The user can then choose the add-in from the Outlook UI to start it for the current item.
To have Outlook activate an add-in for specific conditions, specify activation rules in the add-in manifest by using the Rule elements. Read more about possible rules and workflows in the Activation rules for contextual Outlook add-ins article.
Note, you can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.
Related
It's my first time developing add in for outlook, i'm tryng to do an add-in that interact with outlook calendar to find an appointment, but i can only show up the add-in when i create new appointment, is there any way to show it outside compose and read context? like viva insights do?
i found that this can be done with VSTO, but i need it to work also with web outlook and other os, if someone can help me to figure it out i will apreciate.
i tried to do it following the add-in doc
https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points
i can't find an extension point that fits my purpose.
Thank you
Add-ins are only valid in Mail/Calendar individual item context currently. Hence, if no item (email / event) is selected, addins do not show-up or work - it does not know in which context it is suppose to run.
If your scenario requires it to run without email/event context, we suggest you to file a feature request here: https://aka.ms/M365dev-suggestions
I'm creating an add-in that detects fraud in emails with in the body using AI. So I need run every time the user open an email. I didn't find anything on events. The Context add-in seems to not be usable in this scenario because of the dependency on regular expressions. I wanna know if someone knows another approach to this use case.
Currently the feature of event based activation of add-ins in read mode, is not a part of the product. 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. For more details on event based activation of add-ins you can read here.
There is no way to activate add-ins automatically for a selection without contextual conditions triggered (regex and etc.).
I've been trying to activate my add-in when the user open his email so I can analyze it. I found one example in on add-in from another company (Retruster). The issue I didn't found way to reproduce the action. Someone knows how to reproduce this event? Because I just found when sending a message.
The labels shown on the YouTube video are categories set on emails. They can be set on the Exchange server side when your message arrives without any add-in involved. Remember, add-in activation rules are described in the manifest file - it can be regex filters, known entities etc. Read more about them in the Activation rules for contextual Outlook add-ins article.
The add-in starts working when the user clicks on the ribbon button.
Hello Outlook/Microsoft Team,
I would like to ask if there is a way to add our add-in icon to the "easy-access-toolbar" as shown in the image below. This toolbar (of outlook add-ins) is shown whenever you are reading email via the browser. Unfortunately, I could not find any guide or documentation on how to add a custom icon in this list.
After some investigations, I found that only add-ins from the market are added to this. Is my understanding correct? Or can a domain admin set this up? Or does this require a manifest entry?
Our outlook add-in is used exclusively by "enterprise" accounts. Thus, we did not deem it necessary to publish with the add-in store.
Thank you for your support and understanding.
I'm trying to create an Outlook Add-In that will forward the selected mail message as an attachment when the button is pressed. Preferably this will work both for the Outlook Client, and Outlook Web Access. To do this, I need to add a button to the main UI in Outlook which shows the list of messages.
However, within the new Add-In format, I don't see an ExtensionPoint for Outlook that allows adding a button to the main mail UI.
https://learn.microsoft.com/en-us/office/dev/add-ins/reference/manifest/extensionpoint#extension-points-for-word-excel-powerpoint-and-onenote-add-in-commands
There are options for the MessageRead pane or the MessageCompose pane, but I don't see anything for the general overview.
However, the following New Feature complains that multiple mail items can't be selected with the add-in syntax, which seems to imply that a single mail item can be selected. If a single mail item can be selected, then that implies that there is a way to add a button to the overview mail page since that's the only place mail can be selected.
This makes me think it is possible to do this, but I'm not sure how.
Can someone please point me to how this might be done?
NOTE: I am NOT trying to create a COM plugin. That is the old format and I've noticed they're increasingly less reliable in Outlook 2016. I am trying to use the new format.
The MessageReadCommandSurface and MessageComposeCommandSurface extension points for Outlook applies to both the main Outlook window (the Explorer) and the item (Inspector) windows. The Explorer Ribbon buttons activate when an email is selected, so the buttons interact on the selected email. So you don't have to do anything if you've already defined those extension points.