Solved

create outlook add in visual studio 2008 in vb

Posted on 2010-11-16
2
439 Views
Last Modified: 2012-05-10
i have visual studio 2008, and have tried to create my very first outlook addin. However, I have absolutely no idea how to fire my code when an email is being sent.

I know what to do if i was creating a macro for outlook in vba, but I want it as an addin. Does anyone know the code for the event that is fired when an email is being sent? please can it be a vb example too.

thanks
0
Comment
Question by:Rakz0r
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
CRJ2000 earned 500 total points
ID: 34150506
The event you're looking for is ItemSend. It's an event of the Outlook application object. If you are looking to only execute your code on mail items, check he item class to assure that you only look at Outlook.OlObject.olMail.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34150564
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Mailbox Overload?
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question