Questions tagged [outlook-addin]

Outlook addins are self-contained programs that modify,extend or add functionality to Microsoft Outlook desktop client. Please use "outlook-web-addins" tag for questions regarding the new model of Outlook Add-ins, which are web-based and can run on Desktop, Web, and Mobile.

Outlook addins are self-contained programs that modify, extend or add functionality to Microsoft Outlook desktop client. They are either COM addins or VSTO addins.

These addins are typically written using tools:

  1. Visual Studio
  2. Visual Studio Tools for Office
  3. VB6

Visual Studio 2013 prior editions provide project templates which can be used to create application-level add-ins for Microsoft Outlook. You can use add-ins to automate Outlook, extend Outlook features, or customize the Outlook user interface.

Links:

4457 questions
6
votes
0 answers

Outlook 365 dialog open for too long crashes outlook addin

I have set up a very simple functions.html which launches a likewise simple dialog that only registers Office.initialize with a console log. If left open too long I get a large error in the console and the dialog becomes unclosable except by…
matthewdaniel
  • 1,842
  • 4
  • 21
  • 35
6
votes
2 answers

Outlook 2007 Addin C# - Startup Path

I am using some Win32 dlls in an Outlook 2007 add-in. So I added the dlls, with build action "Content" and copy to local directory. To get the path to them, I would normally use:…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
6
votes
1 answer

Outlook Mobile Add-in manifest sample?

I was trying to add in the mobile part for the Outlook Add-in. I have search the information in https://dev.office.com/docs/add-ins/outlook/manifests/add-mobile-support for the manifest to update for mobile. However, for that, I am getting the…
Howie Lee
  • 83
  • 4
6
votes
3 answers

Office Add-in (web app) can be completely offline (without web server)?

I want to create an Office Add-In with some HTML + JavaScript for sell in Office Store. And this add-in no need using any server side facilities. But if I understood https://dev.office.com/getting-started/addins the source files of Add-in must…
6
votes
2 answers

Getting token in Office 365 Oauth2 authentication

I am implementing Oauth 2 authentication for Office 365 account in a java based server side application. After reading the documentation, I have done the following things: I have office 365 subscription. I have created an app in Azure Actve…
6
votes
1 answer

Outlook 2016 plugin AttachmentSelection Issue

I have created a Outlook addin for selected attachment to get details of the attachment. and its working fine in Outlook 2010. But when i build it for outlook 2016, then it becomes null. Below is the code in ThisAddIn.cs:- private void…
Ariel
  • 87
  • 6
6
votes
3 answers

C# How to get the send of behalf email address in outlook add-in

I'm trying to get the sender email address from email that is send using another email address. The sender as shows in outlook is ditribution-lists@domain.com on behalf of User Name [user.name@domain.com]. The MAPI object has a method…
Alin
  • 267
  • 4
  • 15
6
votes
1 answer

Accessing a Document being edited in a Outlook reading pane

I have written a simple VSTO addon that inserts a hyperlink into an e-mail when user clicks on a ribbon bar button. Here is a code sample: private void button1_Click(object sender, RibbonControlEventArgs e) { var context =…
Stefan
  • 63
  • 4
6
votes
2 answers

Exchange ItemID differs from GlobalAppointmentID for Outlook AddIn

The problem I'm having is that the GlobalAppointmentID of a Outlook Appointement created using a Outlook FormRegion differs from that of the ItemID when using EWS Managed API. I'm creating an Outlook addIn that allows users to add customer and…
6
votes
2 answers

Outlook Addin: Working with threads

I'm working on an Outlook Addin, and I have to process a large amount of items. This takes quite a lot of time, and I therefore tried to have the processing running in a different thread (using Task.Factory.StartNew). However, that results in…
SaguiItay
  • 2,145
  • 1
  • 18
  • 40
6
votes
2 answers

Outlook Add-in, RibbonType Microsoft.Outlook.Explorer and Microsoft.Outlook.Mail.Read

I have an Outlook 2010 Add-in coded in .NET 4.0/VS.NET 2010, C#. The Add-in extends the Ribbon => it adds a RibbonTab with 4 RibbonButtons to (RibbonType Property is set to) Microsoft.Outlook.Explorer and Microsoft.Outlook.Mail.Read. Now, if the…
Christian Casutt
  • 2,334
  • 4
  • 29
  • 38
6
votes
2 answers

C# Outlook add-in get selected emails

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…
B.Gen.Jack.O.Neill
  • 8,169
  • 12
  • 51
  • 79
6
votes
1 answer

Get Outlook 2010 Rule description

I am developing add-in for Outlook 2010. I have to get all rules and descriptions for them. I can access to the rules, but I don't understand how to get descriptions like on the picture.
Alexandr
  • 5,460
  • 4
  • 40
  • 70
6
votes
2 answers

Handle Hyperlink Click Event in Outlook Mail in C#

I want to handle the hyperlink click event in an outlook mail. To open the hyperlinks in outlook mails without opening the browser within itself. Does anyone know how to handle hyperlink click event on a mail item?
9T9
  • 698
  • 2
  • 9
  • 22
5
votes
2 answers

"An error occurred while signing: Key not valid for use in specified state" when compiling Outlook 2010 add-in

I'm building an Outlook 2010 add-in that will tie into our ticketing system using the ticket systems' API. A week ago I was able to compile and get context/ribbon menus which executed their functions properly. This morning I added some functions…
Nick Sarabyn
  • 1,632
  • 2
  • 21
  • 29