EntryID changes on send

  • Thread starter Thread starter Peter Ramsebner
  • Start date Start date
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
 
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
 
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
 
Back
Top