outlook-addin

Outlook AddIn Mobile Issue - not working in mobile whereas same code works for Desktop and web client

半世苍凉 提交于 2019-12-11 16:56:28
问题 I have the bellow error in Microsoft exchange server service, but only on mobiles as same code works for Desktops and web. ERROR MESSAGE: System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse() in \REDMOND\EXCHANGE\BUILD\E15\15.00.0913.015\SOURCES\sources\dev\EwsManagedApi\src\EwsManagedApi\Core

using ExtendedProperties in the Outlook REST API to set Message item headers

感情迁移 提交于 2019-12-11 15:55:25
问题 It is possible to request message headers in the C# API: https://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.item.internetmessageheaders(exchg.80).aspx Is it possible to set item message headers instead, using the REST API via ExtendedProperties ? This would allow us to remove the last remaining EWS SOAP call we have to do, which is to add a header to an Outlook draft. The reasons for wanting this: Apparently the EWS SOAP API seems to have a failure rate of 10 - 20%

Block add-in for Gmail Accounts in Outlook for Mac

Deadly 提交于 2019-12-11 15:52:46
问题 Is there any way not to support a Gmail account type in Outlook for Mac? Since Gmail accounts support has been announced I need to support also this account types. However, EWS requests does not work for Gmail. I would like to temporary block Gmail users installing my add-in, until I will adjust by backend, and switch to REST. The only idea I have now is to detect accountType in JS and inform user that cannot use this add-in for now. 回答1: Add-in support for Gmail Accounts in Mac Outlook is

Outlook Ribbon Customization

﹥>﹥吖頭↗ 提交于 2019-12-11 14:32:46
问题 i have added a tab in outlook ribbon in using vc++ in visual studio.but i need to hide the tab when opening a perticular mail in outlook 2010. i have attched snapshot for the same first image shows : i have added custom tab and it is loading correctly when i open outlook. now come to requirements .. second image shows : custom tab i have to hide from there when i am opening a perticular mail in outlook and i have to add the same below More option in outlook what xml to added or removed to

How, can get the exact sent Email from Sent Items folder?

折月煮酒 提交于 2019-12-11 13:38:26
问题 VSTO: Outlook 2007 Add-In Project. I have Sent an sampleEmail using a custom button in the Ribbon control. Now, How, can get the sampleEmail from Sent Items folder? I tried by using the Entry ID property. but that was not helpful after the Email is sent. The Conversation ID is null for a new Email. Any other property, by which I can exactly read an Email that I have sent. 回答1: You can set a named property on the item before sending it using MailItem.UserProperties or ailItem.PorpertyAccesor,

My Outlook context menu (add-in) button fires multiple times per one click

China☆狼群 提交于 2019-12-11 12:22:27
问题 So I've got this context menu working out except that the event behind the actual selection of the menu item seems to fire multiple times. First time I click it, it fires once, then twice, then 3 times. So, in the example I just gave, for 3 clicks it would have fired a total of 6 times (1 + 2 + 3). Why is that? Below is my code on how I'm creating the menu items. I stripped it down to the relevant pieces; I omitted things like .Tag, .Visible, and .Caption properties. I'm building this using

Get previous MailItem when reply on outlook

穿精又带淫゛_ 提交于 2019-12-11 11:53:12
问题 We are developer an outlook plugin. We provide an button work as alternative of default Send button. We need save all MailItem replied by our button to a specific category. When user reply an email (in new inspector), how can I get the main MailItem be replied ? 回答1: A user can reply from either Explorer or Inspector. In case of Explorer, trap the Explorer.SelectionChange event and set up event sinks on the selected items. You can trap the MailItem.Reply/ReplyAll/Forward events. In case of

SQL Server CE + Addin Read and Write Collision Avoidance?

六眼飞鱼酱① 提交于 2019-12-11 11:18:28
问题 We have an Office Addin that uses Sql CE with the usual DBConnection to a *.sdf in the filesystem ('C:/...etc...'). When we start two copies of the application having the Sql CE-augmented Office Addin (testing what a user might do by mistake) the Sql CE database becomes corrupted and the Office Addin can no longer access its data. It seems like we are missing some basic way of avoiding a seemingly obvious problem. By now everyone knows that Sql CE does not lock its rows allowing the sort of

Outlook Event is not getting fired on click of custom button

不羁岁月 提交于 2019-12-11 10:23:27
问题 I am developing a Microsoft Outlook Add-in, where I have added one button in Add-In tab name OPENISMS . I could see the button, however on click the event is not getting fired. I have no clue why it is behaving in this manner. Please find below are code for adding button and attaching event to it. Any help will be highly appreciated. private void AddButtonToNewDropdown() { Office.CommandBar commandBar = this.Application.ActiveExplorer().CommandBars["Standard"]; Office.CommandBarControl ctl =

How to Create listener Outlook.ItemsEvents_ItemAddEventHandler for every mail folder?

谁说胖子不能爱 提交于 2019-12-11 10:18:28
问题 I can listen on default folder like this: _outlookNameSpace = this.Application.GetNamespace("MAPI"); _inbox = _outlookNameSpace.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox); _items = _inbox.Items; _items.ItemAdd += new Outlook.ItemsEvents_ItemAddEventHandler(items_ItemAdd); How can I add a listener on all folders and sub folders ? Or listen for all incoming mail before it is placed in a folder or subfolder ? 回答1: You need to store Items objects in a list