![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi, I am very new to creating Outlook addins. I have a need to create
an addin that executes when the user clicks the Send button. My plugin needs to run after the button is clicked, but before the message is sent. At this point it needs to have an option to either send the message or not to (preferrably to execute a different addin). So I guess I'm really trying to figure out if this is even possible before anything else. I do have background in .NET Thanks, Matt |
Ads |
#2
|
|||
|
|||
![]()
An addin would have to start up when Outlook was started. You would not be
able to run code to trap the Item.Send event without something running. The Send event is what you want. That has a ref Cancel argument that can be set true to cancel the send if desired. If you wanted to run code from within that event handler you could do so but starting up another addin for that would be a really bad architecture. I'd put all the code in one addin. You might want to start out by reviewing the code samples and downloadable projects at www.outlookcode.com. There are lots of code samples and many sample addins there that could provide a starting point for you. Samples are available for VB.NET, C# and VSTO if you intend to use a .NET platform. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ups.com... Hi, I am very new to creating Outlook addins. I have a need to create an addin that executes when the user clicks the Send button. My plugin needs to run after the button is clicked, but before the message is sent. At this point it needs to have an option to either send the message or not to (preferrably to execute a different addin). So I guess I'm really trying to figure out if this is even possible before anything else. I do have background in .NET Thanks, Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No Send Button | Donna | Outlook - General Queries | 4 | August 12th 06 04:32 PM |
Some items can't be send in outlook 2003. Even after repeatly clicking the send button. | baarts | Outlook - General Queries | 1 | August 9th 06 02:52 PM |
No Send Button | donna | Outlook - General Queries | 5 | August 8th 06 03:40 AM |
Catching Send Event Lotus Notes/Domino thro AddIn | Biru | Add-ins for Outlook | 0 | July 22nd 06 09:19 AM |
how do I send a letter without a send button on the toolbar? | son | Outlook - General Queries | 1 | February 16th 06 04:57 PM |