Link to home
Start Free TrialLog in
Avatar of DrDamnit
DrDamnitFlag for United States of America

asked on

Outlook Add-in in VB.net?

I have a very simple task I would like to be able to do: Add a button to outlook that will send a copy of the current message to a remote server via HTTP POST.

The use case is simple: we have email messages that we want to archive and attached to a web-based system. To do that, the simplest thing to do is give the users a button which, when clicked, gets the email (along with teh to / from / attachments, etc...) turns them all into  JSON string, which will then POST the values to an API for the web application.

can anyone give me some links to tutorials that will get me acquainted with:
1. The process of building a simple add-in
2. accessing the "current email" mail object and its properties.
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

I cannot tell you how to do what you want to do, but it's definitively not through a .NET Add-In. Outlook object model and programming is very different from what you find in Excel and Word. There is no template in Visual Studio .NET for Outlook add-ins (unless I missed something in all my years of working with Microsoft programming tools).

I would post your question with other topics. Maybe this can be done in VBA in Outlook. But I would be surprised if it could be done through an "Outlook add-in".
Avatar of DrDamnit

ASKER

https://www.add-in-express.com/docs/net-outlook-addins.php

This send to be very close to what I need, what are your thoughts?
*seems
This is a third party tool that I have never used and have never heard of before today. So i have no thought about it...

... except that they do not offer support for the portion of their software that I, sorry, you need: We do not provide support for issues and questions related to the Office applications object model for the "Add-in Express Regions for Microsoft Outlook and VSTO" and "Security Manager for Outlook" products.

If Microsoft included add-ins for Word and Excel in Visual Studio .NET, and if they did not do it for Outlook, there should be a reason. And that reason might have to do with the fact that a company offers support for their tools to create Word and Excel add-ins, but not for their tools for Outlook.

... except that it is one of these companies that do not sell their software, they offer it through a subscription model. I will never go for a subscription model, not for music, not for software, not for anything, except Netflix. Because I have music that I have been listening to dozens of times in the last 30 year, software that I have been using everyday for more than 10 years, but almost never see a film more than once, maybe twice (after a few years).
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is the jumping off point I needed. Thanks!