You can't. By the time the item has been submitted to the Outbox it's been
submitted to the transport and is not available to most Outlook
manipulations. Word uses a MAPI SendTo that bypasses things like
NewInspector and all other event handling you could do. About all you can do
is try to handle ItemAdd to the Outbox's Items collection and see what you
can do within that event handler.
--
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
"msdn" <(E-Mail Removed)> wrote in message
news:u%(E-Mail Removed)...
> Hi There,
>
> I am newbie programming COM event in Outlook but we have the following
> problem:
>
> - we have a aaa.dll file that is hanging on Outlook's ItemSend event, and
> have no problems wenn somebody send an email we capture it, and some data
> will be saved in MSSQL
> - we have an application that make a connection to Word and via DDE we add
> some Items (including email address),
> - the user will make a circular letter of this document using this Items.
> this circular letter will be sent via Outlook by email the including email
> address,
> - in this case (circular letter), the ItemSend event won't be fired, the
> emails will be placed directly to the Outbox folder (we think that this
> can occur the problem) how can we capture this event when the Word
> application send an email circular letter?
>
> Thanks
> Alex
>
> PS: Sorry for my English