outlook-web-addins

Do you need an on premise exchange server to call makeEwsRequestAsync?

生来就可爱ヽ(ⅴ<●) 提交于 2020-05-14 09:10:10
问题 I am trying to create an add in for outlook using office.js. For a week now, I have been receiving accessRestricted error from using makeEwsRequestAsync. When I read the documentation again, it says I have to explicitly set oauthentication to true in the exchange server. When I check to see how to set oauthentication to true, at the top of the page, I see the command only exist in on-premise exchange server. I bought an online exchange server, and the command listed does not work in my

Outlook addin On Send on dektop not firing

随声附和 提交于 2020-04-11 18:34:42
问题 I have been building an office add-in for Outlook. I have a taskpane, that works fine, and yesterday, I added "on send" function. It works well on web, but it doesn't work on desktop. Mails are just sent without any notification message. According to the documentation, it should work on desktop now? "The on-send feature is currently supported for Outlook on the web in Exchange Online (Office 365), Exchange 2016 on-premises (Cumulative Update 6 or later), and Exchange 2019 on-premises

Outlook addin On Send on dektop not firing

跟風遠走 提交于 2020-04-11 18:33:58
问题 I have been building an office add-in for Outlook. I have a taskpane, that works fine, and yesterday, I added "on send" function. It works well on web, but it doesn't work on desktop. Mails are just sent without any notification message. According to the documentation, it should work on desktop now? "The on-send feature is currently supported for Outlook on the web in Exchange Online (Office 365), Exchange 2016 on-premises (Cumulative Update 6 or later), and Exchange 2019 on-premises

File types (mime types) issue in Outlook web addin using Fabric UI

霸气de小男生 提交于 2020-03-21 06:40:56
问题 I am working on an Outlook Web Addin using Fabric UI framework. Im using Fabric UI Core without React or AngularJS. I am facing an issue in getting File Types (MIME types) icons. Whatever references I found online for File types in Fabric UI are for React framework. Is there a way to get file types in Fabric UI with plain Javascript without React? I found the following links where file types are available: https://spoprod-a.akamaihd.net/files/fabric/assets/item-types/16/csv.svg https:/

File types (mime types) issue in Outlook web addin using Fabric UI

余生长醉 提交于 2020-03-21 06:40:47
问题 I am working on an Outlook Web Addin using Fabric UI framework. Im using Fabric UI Core without React or AngularJS. I am facing an issue in getting File Types (MIME types) icons. Whatever references I found online for File types in Fabric UI are for React framework. Is there a way to get file types in Fabric UI with plain Javascript without React? I found the following links where file types are available: https://spoprod-a.akamaihd.net/files/fabric/assets/item-types/16/csv.svg https:/

Office 365 Outlook REST API - Office.context.mailbox.displayMessageForm not working on Mac Outlook

送分小仙女□ 提交于 2020-03-05 03:25:48
问题 I'm currently facing an issue with Outlook object model of the API in all versions from v1.1 and higher on Mac Outlook 2016 (V16.15.0 and up). The method Office.context.mailbox.displayMessageForm is not working on Outlook for Mac. On Windows as well as on the online versions everything is working fine. Current situation: I wrote an outlook add-in which creates a new draft of an email (saved in draft folder via usage of EWS envelope) and opens the new draft by using the outlook add-in API

makeEwsRequestAsync not returning callback on MacOS Outlook2016

蹲街弑〆低调 提交于 2020-03-03 16:41:10
问题 I'm using makeEwsRequestAsync to get email "Body", "Subject", "MimeContent" . But in case of MacOS Outlook2016 when the email size is more than 1MB the callback method is never called after the call is made to makeEwsRequestAsync() . In case of email having size less than 1MB the callback is called with proper result. I know in case of more than 1MB email size there will be an error with the message Response exceeds 1 MB size limit. Please modify your EWS request Also, the same code is

microsoft office onSend feature does not allow to send mail if dialog is opened through displayDialogAsync API

≡放荡痞女 提交于 2020-02-29 08:38:05
问题 I am trying to implement On Send feature in outlook Add-in. All prerequisite are done. It is working fine as normal scenario as mentioned in the documentation.But for my case the requirement is this: If the Body contains any 'Block Word' I want to show to the user a Dialog box (using displayDialogAsync API) with two options 'Continue' and 'Cancel'. Without dialog box it allows to send Mail but with dialog it is not working. var mailboxItem; Office.initialize = function (reason) { mailboxItem

Obtain attachment content from OWA through Outlook web add-in

南笙酒味 提交于 2020-02-29 01:52:17
问题 I'm trying to get the content of an attachment from a mail item using the Office.context.mailbox.item.getAttachmentsAsync() API call from my add-in, however I'm running into some unexpected results... In my add-in, I get a list of all the attachments in the mail item: var listOfAttachments = item.attachments; if (listOfAttachments.length > 0) { for (i = 0; i < listOfAttachments.length; i++) { _att = listOfAttachments[i]; console.log("Attachment name: " + _att.name); console.log("Attachment

Obtain attachment content from OWA through Outlook web add-in

微笑、不失礼 提交于 2020-02-29 01:50:49
问题 I'm trying to get the content of an attachment from a mail item using the Office.context.mailbox.item.getAttachmentsAsync() API call from my add-in, however I'm running into some unexpected results... In my add-in, I get a list of all the attachments in the mail item: var listOfAttachments = item.attachments; if (listOfAttachments.length > 0) { for (i = 0; i < listOfAttachments.length; i++) { _att = listOfAttachments[i]; console.log("Attachment name: " + _att.name); console.log("Attachment