PR_MESSAGEFLAGS & Compose/Read - Inspector

  • Thread starter Thread starter Sebastian S.
  • Start date Start date
S

Sebastian S.

Hello out there!

Is there any chance of setting the PR_MESSAGEFLAGS property (deleting
MSGFLAG_UNSENT) for an object? What I've read it should be possible just
before the first savechanges call. Is this for sure? Because it doesn't seem
to work here. C++ mapi code in a DLL.

The mainproblem is, that i use the display() method in an Add-In (2007, c#,
vsto3) which makes use of that DLL for item creation and manipulation.
Calling display() of the DLL-created Outlook.MailItem brings up an
compose-inspector but what I want is an read-inspector...

Cheers,
Sebastian
 
Thanks for the reply.

Item creation with MAPI then display() with OOM.
Any idea how i can get a "read-inspector"?

Cheers,
Sebastian
 
Did you remove MSGFLAG_UNSENT bit from the PR_MESSAGE_CLASS proepty
immediately after creating the message and before saving it for the very
first time?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Yes.
But I checked again... and solved the DEVELOPER_IQ_ERROR.

So all I needed was a "Dimitry said to" ;)

Thanks for your effort and sorry for stealing your time.

Cheers,
Sebastian
 
Back
Top