Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / November 2005

Tip: Looking for answers? Try searching our database.

Circular letter in Word and COM ItemSend event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
msdn - 09 Nov 2005 08:13 GMT
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
Ken Slovak - [MVP - Outlook] - 09 Nov 2005 14:36 GMT
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.

Signature

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

> Hi There,
>
[quoted text clipped - 18 lines]
>
> PS: Sorry for my English
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.