PC Review


Reply
Thread Tools Rate Thread

Circular letter in Word and COM ItemSend event

 
 
msdn
Guest
Posts: n/a
 
      9th Nov 2005
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
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      9th Nov 2005
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


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No entryid on Itemsend Event djtotofr@gmail.com Microsoft Outlook Program Addins 3 2nd Mar 2009 04:20 PM
ItemSend Event Catalin Microsoft Outlook VBA Programming 4 17th Jan 2008 07:17 PM
Outlook VBA with ItemSend event =?Utf-8?B?TGFycnk=?= Microsoft Outlook Discussion 1 3rd Nov 2005 02:23 PM
Re: ItemSend Event =?Utf-8?B?U3VlIE1vc2hlciBbTVZQLU91dGxvb2td?= Microsoft Outlook VBA Programming 0 29th Jun 2004 03:05 AM
where to put to itemsend event and how to use it Raymond Microsoft Outlook VBA Programming 1 8th Jan 2004 01:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:56 PM.