EntryID changes on send

P

Peter Ramsebner

Hi all,

another one the old topic:

I try to realize the following:
A user creates a new Mail message and sends it the normal way. Or he clicks
a user defined button, and the mail will be sent and additionally will be
added a record in an external database. In this database i will save the
EntryID of the mail, because i will be able to open the mail from my
application.

The problem is, that after sending, the EntryID is changed!

Question:
- What does i have to do, to get the real EntryID of the mail?
- Are there other work arounds to get it working?


Thanks for all help

Peter
 
D

Dmitry Streblechenko \(MVP\)

Try to trap the MAPIFolder.Items.ItemAdd event, where MAPIFolder points to
the Sent Items folder.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
P

Peter Ramsebner

Hi Dmitry,
Try to trap the MAPIFolder.Items.ItemAdd event, where MAPIFolder points to
the Sent Items folder.

thanks, i will try to go in this direction

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top