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
1
vote
2 answers

How to save an email to a folder instead of sending it when the user presses the send button in Outlook

I am trying to write an Outlook Plugin ( 2007 or greater ) using VSTO. When the user presses the send button on a new email , rather than sending the email I want to save the entire email to a folder ( that the addin creates on first run ). After an…
Rahul
  • 2,194
  • 4
  • 31
  • 46
1
vote
1 answer

Categories added to a MailItem before sending aren't persisted

I'm intercepting Outlook 2013's Application.ItemSend event in order to manipulate the categories assigned to a MailItem right before it's sent. Here's the event handler: void Application_ItemSend(object Item, ref bool Cancel) { var mail =…
Martin Törnwall
  • 9,299
  • 2
  • 28
  • 35
1
vote
2 answers

C# Outlook Addin The object invoked has disconnected from its clients

I'm doing a plugin for outlook, but when I try to get the namespaces for calendars, I get this error: https://i.stack.imgur.com/ZV6eN.png So, in some computers not happen, but when another person try to install this error its showed, my code that…
sleeviin
  • 13
  • 4
1
vote
1 answer

How can I edit the automatic reply in outlook using c#

I am developing a little outlook Add-In, wich gives the option on the appointement-contextmenu to automatically fill out and set the start/ end the of the out of office message. I have managed to extend the contextmenu and get the start-/ endtime of…
Morlibert
  • 33
  • 7
1
vote
2 answers

Outlook 2007 Addin Startup Crash due when Outlook startup trigger via Send Mail option on Word or Excel

Having started development on a Outlook 2007 Addin at my new job, a user encountered the following error: Object reference not set to an instance of an object during Outlook startup. After trying to track the issue via additional try catches as the…
1
vote
2 answers

Flag messages in Outlook with Add-In Express Plugin

I am developing a plugin for outlook 2007 and higher with Add-In Express in C#. I want to highlight special mails (e.g. the sender address contains @example.org) in the overview (list) over emails. With highlight I mean adding an image/logo to the…
stoeren
  • 128
  • 1
  • 7
1
vote
2 answers

Installing VSTO Outlook addin for All Users to drive other than C: results in Microsoft Office Customization Installer dialog

First let me get this stuff out of the way: This happens with my own addin, as well as another third party VSTO add-in, so I don't think I'm doing anything incorrect .net 4.0. VSTO runtime 10.0.50701 Windows 8. Also tried Windows 7 I am using the…
JohnZaj
  • 3,080
  • 5
  • 37
  • 51
1
vote
2 answers

How to check if attachment is mail message?

I'm trying to determine if attachment is mail message, i have a method for identifying if attachment is PDF from its first header bytes. if (buffer[0] == 0x25 && buffer[1] == 0x50 && buffer[2] == 0x44 && buffer[3]== 0x46) So first header bytes…
Buggy
  • 135
  • 9
1
vote
1 answer

Visual Studio 2012 - C# - outlook 2013 Add on

Is it possible to make a butoon at Ribbon be visible only when a email window is open? I don't want to be visible at the default outlook ribbon when the application loaded. Thanks.
user3320669
1
vote
1 answer

Is it possible to add custom send button in outlook message form in outlook 2013 add in project?

I just started working with outlook 2013 addin project template, and need to add new send button, under regular send button on message form (check the image). Is it possible???
Tino
  • 220
  • 6
  • 17
1
vote
3 answers

Extend context menu in the subject of outlook 2010/2013

I have a small Outlook 2010/2013 Add-In written in C#. It adds additional context menu entries if the selected text in the Email body fits some pattern. For this I used a ribbon.xml like:
iwan.z
  • 552
  • 5
  • 8
1
vote
2 answers

Can't get Outlook.Application interop work in my MVC 4 project

I've been trying to use this interop in my MVC 4 project. I tried to make it simple just to get the idea. but I get an error "Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the…
1
vote
2 answers

VS 2010 debugging outlook RibbonExtensibility UI xml

When creating a RibbonExtensibility class for, say, adding custom context menu buttons, is there some way in VS to debug whether the XML you are returning in GetCustomUI is actually valid? For example, if my XML tries to use a non-existent idMso,…
davex_
  • 148
  • 1
  • 8
1
vote
0 answers

Programmatically adding Outlook Addin+Access Denied

I have Outlook 2013 Addin Project to add a custom AddIn. When I run the project, the outlook opens up . Then when we proceed to add the specific Addin, it says access denied issue to the specific custom addin project dll. All the permissions have…
Raghav Thakur
  • 311
  • 1
  • 3
  • 13
1
vote
1 answer

How to Display Region form inside outlook office 2013 application?

how to display a new separate region form or user control inside outlook using new Custom tab with new button or built in tab with new Custom groub