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.
LVL 32
DrDamnitAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jacques Bourgeois (James Burger)PresidentCommented:
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".
0
DrDamnitAuthor Commented:
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?
0
DrDamnitAuthor Commented:
*seems
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Jacques Bourgeois (James Burger)PresidentCommented:
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).
0
CodeCruiserCommented:
James, have you seen this?

https://msdn.microsoft.com/en-us/library/cc668191.aspx


Some more resources

Adding button programmatically
https://msdn.microsoft.com/en-us/library/office/bb410039(v=office.12).aspx#OL2007BuildAddInUsingWPF_CreatingtheAddMenuBarMethod

Get selected mail item
Dim objApplication As Outlook.Application = Globals.ThisAddIn.Application
Dim objInspector As Outlook.Inspector = objApplication.ActiveInspector()
Dim objMailItem As Outlook.MailItem = CType(objInspector.CurrentItem, Outlook.MailItem)

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DrDamnitAuthor Commented:
This is the jumping off point I needed. Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.