outlook-addin

Sending secret/personal message to particular cc in outlook

99封情书 提交于 2019-12-25 01:32:56
问题 How can I send personal message to particular CC recipient(s) in outlook using C# so that other CC or or BCC or TO recipients can't able to view this personal message? 回答1: You will need to send a message to that recipient only. 来源: https://stackoverflow.com/questions/24247611/sending-secret-personal-message-to-particular-cc-in-outlook

How to get last reply of a MailItem from Outlook in C#?

一个人想着一个人 提交于 2019-12-25 00:27:53
问题 I want to get the last reply in an Outlook Conversation from a MailItem. I don't want to get the whole mail. I tried to get the messages of MailItem but I couldn't, every time I got the whole email, not only the last reply. Outlook.MailItem item = Items.GetLast(); MessageBox.Show(item.Body); I expected to get only the last reply message from the mail thread but I got the whole mail instead! 回答1: It is your responsibility to parse the message body and extract the latest text. Keep in mind that

Is there a way to make my add-in run and show in people level not mail item

耗尽温柔 提交于 2019-12-24 18:51:40
问题 I want to make add-in that show button in contact form to show user email and phone number in task pane , is that available with current web add-in api ? And how to make it because i can't found any demo or document for that 回答1: No, the current web add-in specification supports only two item types in Outlook Message Appointment Using the web add-in infrastructure for Outlook, it is not possible to show a button in contact form. 来源: https://stackoverflow.com/questions/51082192/is-there-a-way

Outlook ItemAdd event fires twice for new Calendar items

谁说胖子不能爱 提交于 2019-12-24 16:18:38
问题 I'm working on an Outlook add-in that will monitor the current user's calendar and send that user an email when a specific type of appointment or meeting is received. We have a third party app/service that is sending new meeting requests to user in Outlook, but no notification is given to the user logged into Outlook. My add-in is a workaround until we replace the third party app, so users can be alerted when this meeting request is sent. I'm using the ItemAdd event to monitor when an

PR_ATTR_HIDDEN property is missing when a new folder is created in outlook 2013

好久不见. 提交于 2019-12-24 15:37:40
问题 I am developing an Outlook 2013 addin using c#. As part of the requirement I need to enumerate all the visible folders. Following is the sample code that I am using. public List<Outlook.Folder> EnumerateFolders(Outlook.Folder parentFolder) { List<Outlook.Folder> allFolders = new List<Outlook.Folder>(); EnumerateFolders(parentFolder, allFolders); return allFolders; } public void EnumerateFolders(Outlook.Folder parentFolder, List<Outlook.Folder> allFolders) { Outlook.Folders childFolders =

appointment item change event of outlook called 2 times in c#

痴心易碎 提交于 2019-12-24 15:02:18
问题 I am developing outlook add-in for which I have to track appointment item add, change & remove events. So I am using bellow code. public Microsoft.Office.Interop.Outlook.Application app = null; public Outlook.NameSpace ns = null; public Outlook.MAPIFolder calendar = null; public Outlook.Items appointments = null; private void ThisAddIn_Startup(object sender, System.EventArgs e) { app = Application; ns = app.GetNamespace("mapi"); ns.Logon("", "", true, true); calendar = ns.GetDefaultFolder

Open POPUP window in Outlook web addin from Command button

試著忘記壹切 提交于 2019-12-24 10:29:32
问题 I am trying to open a small popup window from Command button in Outlook web addin . Below is the method (function () { // The initialize function must be run each time a new page is loaded Office.initialize = function (reason) { $(document).ready(function () { ShowPopup(); }); }; function loadItemProps(item) { Office.context.ui.displayDialogAsync('https://myAddinDomain/myDialog.html'); } But it is not working , no error . 来源: https://stackoverflow.com/questions/49860113/open-popup-window-in

Outlook 2010 AddIn behaves weirdly when mail invoked from other office client

北城以北 提交于 2019-12-24 09:46:55
问题 I really need help with this one. I have written an adding that adds a some text to the subject line of an email on send it also sets the same value in a property on the email through the PropertyAccessor. This works beautifully when the email is created through the Outlook interface. The problem I have encountered is when a user is working with excel and decides to send the spreadsheet as an attachment from the Excel 2010 -> File -> Save & Send -> Send as Attachment Menu Item. This will open

Outlook 2010 AddIn behaves weirdly when mail invoked from other office client

一曲冷凌霜 提交于 2019-12-24 09:42:15
问题 I really need help with this one. I have written an adding that adds a some text to the subject line of an email on send it also sets the same value in a property on the email through the PropertyAccessor. This works beautifully when the email is created through the Outlook interface. The problem I have encountered is when a user is working with excel and decides to send the spreadsheet as an attachment from the Excel 2010 -> File -> Save & Send -> Send as Attachment Menu Item. This will open

Outlook for Mac lacks add-in command button group labels

我的未来我决定 提交于 2019-12-24 08:23:53
问题 Outlook add-in manifests are supposed to work on PC Desktop Outlook, OWA and Outlook for Mac. That mostly seems to be the case but we noticed an issue with Outlook for Mac. Outlook for Mac does not appear to have button group labels. Look at the Microsoft Store red briefcase "Store" button for example. In Windows Desktop Outlook this button is in the Add-ins button group as indicated by the text "Add-ins" as the label below the button. For Outlook for Mac the button group label is missing. In