outlook-addin

OnSend fired twice after attachment reminder

被刻印的时光 ゝ 提交于 2019-12-10 02:52:19
问题 In Outlook Web Add-In, I'm trying to intercept OnSend event which is triggered when sending an email. I used this example in GitHub which is working fine. If I include the word "attachment" in the email body and I click Send button, OnSend event is fired once and a pop-up modal window shows up with this message: Attachment reminder You may have forgotten to attach a file. with Send and Don't send buttons. If click Send , OnSend event get fired twice: 2 times after clicking Send button within

Can I add a custom “Send” button to Outlook?

随声附和 提交于 2019-12-09 14:32:47
问题 I'm creating a secure message alternative to email for my organization. We exchange confidential patient information with outside treatment providers. To protect privacy, we cannot use email for this purpose. Rather than force the users here to use whole new inbox, outbox, and authoring interfaces in addition to the Outlook/Exchange email they're used to, is it possible for me to simply add a "Send Secure" button that will direct their message to my custom service rather than the email server

Change message body before sending in outlook 365

拈花ヽ惹草 提交于 2019-12-08 13:43:09
问题 It possible to change message body (e.g. add some text at the end) on send button clicking. 回答1: Outlook 365? There is no such thing. Do you mean Outlook 2016 (desktop app)? Or Outlook Web App? In the former case, trap the Application.ItemSend event and modify the message passed as the parameter. In the latter case, there is nothing you can do. 回答2: Office.js API currently doesn't support events. There are a lot of requests for monitoring "onSend" event. You may up vote it over here:

Exchange ErrorInvalidClientAccessTokenRequest

喜欢而已 提交于 2019-12-08 13:09:35
问题 I built an Outlook Add-in and it uses a token to download email attachments from the Exchange server. On my O365 developer account, it successfully retrieves the token. The Add-in has been deployed to the client's Outlook but when they try to retrieve the token, this is the response message: MessageText:"The token for this extension could not be retrieved. "ResponseClass:"Error" ResponseCode:"ErrorInvalidClientAccessTokenRequest" Token:null __type:"GetClientAccessTokenResponseMessage:

Outlook Addin Error Code 13005 for auth.getAccessTokenAsync

左心房为你撑大大i 提交于 2019-12-08 12:38:57
问题 So I am trying to use single sign on in an outlook addin. I have registered my app at https://apps.dev.microsoft.com/. In my Manifest I have <WebApplicationInfo> <Id>{myId}</Id> <Resource>api://mydomain.com:3000/{myId}</Resource> <Scopes> <Scope>Mail.Read</Scope> <Scope>profile</Scope> </Scopes> </WebApplicationInfo> mydomain.com is actually a domain i map to my local IP. Outlook accepts my manifest just fine. How ever when i call Office.context.auth.getAccessTokenAsync , I get the following

Develop outlook add-in compatible with multiple versions

[亡魂溺海] 提交于 2019-12-08 11:42:32
问题 I created a VSTO outlook add-in under the outlook 2010. But seems it doesn't work when it was deployed to outlook 2007. The inefficient way to solve the problem is compiling again under the outlook 2007.Is there any better way to make it work in both versions? thanks 回答1: I have the same problem. What I have done is testing at the start of the addin (starup function) wether the version of outlook is 14 (for 2010) or not. But I had to install Office 2007 and compile again in an outlook 2007

Office.context.mailbox.addHandlerAsync fails when reload the frame

别来无恙 提交于 2019-12-08 10:56:02
问题 I am implementing the pinnable taskpane in my outlook web add-in This is my code: Office.initialize = function (reason) { $(document).ready(function () { // Listen to ItemChanged event Office.context.mailbox.addHandlerAsync(Office.EventType.ItemChanged, itemChanged, function (result) { console.log(result) if (result.status === Office.AsyncResultStatus.Failed) { // here will be hit if I do a postback in the server, could also be replicated by choosing "reload frame" in the right click menu

C# Outlook Add-On: Check Calendars Availability

守給你的承諾、 提交于 2019-12-08 10:19:54
问题 I am working on an add-in for Outlook using C# and I want to be able to check the availability of calendars (mine and others'). I tried using GetSharedDefaultFolder() but it only worked with those who specifically gave me permission, even though all calendars in my company can be viewed by others (we can see the subject and times of appointments). Is there anyway I can get these information? Thanks. EDIT : I want to emphasize that my problem is with GetSharedDefaultFolder() rather than

Language Override entries that can work in Outlook 2016 and OWA

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 09:54:34
问题 The following add-in manifest entry works in Outlook 2016 but not in OWA: <bt:String id="strAbout" DefaultValue="About"> <bt:Override Locale="fr-fr" Value="À propos" /> <bt:Override Locale="nl-nl" Value="Info" /> <bt:Override Locale="de-de" Value="Über" /> <bt:Override Locale="sv-se" Value="Om" /> <bt:Override Locale="ja-jp" Value="バージョン情報" /> <bt:Override Locale="zh-tw" Value="關於" /> <bt:Override Locale="zh-cn" Value="关于" /> </bt:String> The reason why is you select just the language in

Subscribe to changes in Outlook calendar/event fields

我的梦境 提交于 2019-12-08 08:01:50
问题 I followed the steps described in Microsoft Graph Webhooks Sample for Node.js to subscribe to the changes in events, i.e. to get notified if an event is created, updated or deleted. Those are working fine. My constant.js file is as follows exports.subscriptionConfiguration = { changeType: 'Created,updated,deleted', notificationUrl: 'https://my_ngrok_id.ngrok.io/listen', resource: 'me/events', clientState: 'cLIENTsTATEfORvALIDATION' }; What I really want to do is to subscribe to changes in