outlook-addin

How to get universal outlook mailitem ConversationID for one email chain replied from different users

我的未来我决定 提交于 2019-12-06 03:24:07
I am developing an OUTLOOK 2010 addin in C#. This addin will create activities based on conversation. For example, one user create new email, others reply,forward or CC, treat this email chain as one converstaion thread. Thoes emails have the same mailItem.ConversationID. Based on this conversationID, my program generated an activty, and link conversationid to the activity which can be seen in each email in this email chain. It all works fine on my machine (I reply,forward,cc in the same email chain, it get the same conversationID). However when other user reply email trigger my program

How to develop addin for MS Outlook?

柔情痞子 提交于 2019-12-06 02:13:56
问题 How do I develop addin for MS Outlook that works with all 1. Outlook 2010 2. Outlook 2007 3. Outlook 2003 I have developed addin that works well with 2010 and 2007 BUT NOT with 2003. I want something like this that works well with all the above three :) 回答1: You need VSTO (Visual Studio Tools for Office). Here is an article to get you started. You can also check out Office Development Center. 回答2: You need to go for NetOffice. It will allow you to abstract out from Outlook version. Also it

change outlook MailItem icon

依然范特西╮ 提交于 2019-12-06 01:35:27
问题 I'm developing an outlook 2010 addin that exports the emails to a specific locations when an user clicks a button from the menu. This part is not a problem, but I need also to change the MailItem icon-pictogram if the export was successful. I tried to look for solutions, but I only get that I need to use form regions , but I didn't find a true helpful solution. Any ideas how should I use this form regions?! I finished the add-in and everything seems to work perfect when debugging from VS 2010

Get all mails in outlook from a specific folder

别等时光非礼了梦想. 提交于 2019-12-05 22:14:50
I would like to get all mails in outlook from a specific folder: My folder structure: I find this Code to get all mails in outlook inbox folder (not the inbox in picture!): Outlook.Application oApp; Outlook._NameSpace oNS; Outlook.MAPIFolder oFolder; Outlook._Explorer oExp; oApp = new Outlook.Application(); oNS = (Outlook._NameSpace)oApp.GetNamespace("MAPI"); oFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox); oExp = oFolder.GetExplorer(false); oNS.Logon(Missing.Value, Missing.Value, false, true); Outlook.Items items = oFolder.Items; foreach (Outlook.MailItem mail in items)

How to add a button to a pre-existing tab on ribbon (C#)?

会有一股神秘感。 提交于 2019-12-05 15:43:53
问题 I've successfully created a new tab and put it next to the pre-existing ones. Then I realized that I'll only have one button on it, so it makes more sense (for now) to put it on the Home tab. Didn't really get that to work though. I've tried to follow the guides and walk-troughs. I've got me an XML and changed its XML to the following. <tabs> <!--<tab idMso="TabAddIns">--> <tab idMso="TabHome"> <group id="group1" label="Hazaa!"> <box id="box1" /> </group> </tab> </tabs> When I run the project

Replace the Outlook 2010 Send-Button?

妖精的绣舞 提交于 2019-12-05 13:50:01
I'm looking for a solution for the following problem. Can anybody help me out? I need to replace Outlooks Send-button with a dropdown-button like the "Von" (From) button in my screenshot. FYI: The new Send-DropDown button will have three functions: 1. Outlooks default send function (the normal sendbutton) 2. Send & Archive Mail 3. Send & Archive Mail+Attachments Can anyone help me out? Is it possible to do a replacment like i want? if not - does anyone have an other solution for my problem? Thanks a lot! You'll need to hide the send button (see here: http://help.lockergnome.com/office/hide

Match EWS Conversation* to Outlook Add-in Conversation*

懵懂的女人 提交于 2019-12-05 12:48:29
I wrote an add-in for Outlook years ago that adds entries to a database based on the Item's ConversationIndex / ConversationId properties. This works great and remains uniform across all clients interacting with the messages (e.g. "Bob" can see that "Mary" already processed this message because an entry with the ConversationIndex already exists). I'm now trying to move this piece to a service (and connect via the EWS API) but I'm not having good luck matching these properties with the values coming from Outlook. For example: The Outlook Add-In will give me the following values for a specific

Is there a list of IDs for the Outlook MAPI namespace?

丶灬走出姿态 提交于 2019-12-05 10:48:25
I'm working on an Outlook add-in and I'm looking for a complete list that relates that MAPI properties to there names that is a little less vague than this . There is plenty of documentation on how to access those properties, but I'm not having much luck finding anything that tells me what any of the properties are. P.S. I've seen this post on the subject but I would really like more info on the subject. Alternatively, if there is information on extending the Out of Office Assistant, the would be appreciated. Thanks. In some very rare cases there exists documentation from MS as you've seen.

Get Inboxes from Outlook

只谈情不闲聊 提交于 2019-12-05 10:29:03
I configured two Exchange accounts in Outlook 2010, however I cant find out how to get to Inbox of the second account. Session.GetDefaultFolder() always return the first one. Even enumerating Session.Accounts, finding the right account and calling Session.Account(found one).Store.GetDefaultFolder() returns wrong Inbox (from the default exchange account, not the secondary). Does this show you all the available Inboxes? Sub LoopThroughInboxes Dim ol As Outlook.Application Dim ns As Outlook.NameSpace Dim i As Long Set ol = Outlook.Application Set ns = ol.GetNamespace("MAPI") For i = 1 To ns

C# Outlook add-in get selected emails

眉间皱痕 提交于 2019-12-05 08:53:34
I want to get all selected emails in my Outlook 2010 add-in. I found this MSDN tutorial , but I am a beginner at C#, and I don't quite understand this line of code: Object selObject = this.Application.ActiveExplorer().Selection[3]; I believe Selection[] is something like overridden operator, indexer in C#. But, is there any way to see implementation of it? If I go through the code, I only see interfaces but not implementations. So I don't know the structure of the Selection object. What is really behind the operator [] . Also, why do the selected items begin at index 1 and not 0? That lines