A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Attaching an Addin to Send Button



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 11th 07, 07:27 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 1
Default Attaching an Addin to Send Button

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  
Old January 12th 07, 03:18 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Attaching an Addin to Send Button

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 06:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.