PR_MESSAGEFLAGS & Compose/Read - Inspector

  • Thread starter Thread starter Sebastian S.
  • Start date Start date
Status
Not open for further replies.
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
 
Outlook will not see your changes.

Do you create the message using OOM or MAPI?

Dmitry Streblechenko (MVP)

-

"Sebastian S." <SebastianS> wrote in message

news:1D2CC4C7-D5FD-473F-B3DA-489331D727E8@microsoft.com...
> 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

"Dmitry Streblechenko" wrote:


> Outlook will not see your changes.
> Do you create the message using OOM or MAPI?

> > Dmitry Streblechenko (MVP)
>

>

>

> -
> "Sebastian S." <SebastianS> wrote in message
> news:1D2CC4C7-D5FD-473F-B3DA-489331D727E8@microsoft.com...
> > 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


> .
>
 
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)

-

"Sebastian S." <SebastianS> wrote in message

news:3EF5BF90-DFD8-4B6A-A0D9-E13EA87D625E@microsoft.com...

> Thanks for the reply.

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

> Cheers,
> Sebastian

> "Dmitry Streblechenko" wrote:
>
> > Outlook will not see your changes.
> > Do you create the message using OOM or MAPI?
>

>> > > Dmitry Streblechenko (MVP)
> >

> >

> >

> > -
> > "Sebastian S." <SebastianS> wrote in message
> > news:1D2CC4C7-D5FD-473F-B3DA-489331D727E8@microsoft.com...
> > > 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

>

>
>> .
> >
 
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

"Dmitry Streblechenko" wrote:


> 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)
>

>

>

> -
> "Sebastian S." <SebastianS> wrote in message
> news:3EF5BF90-DFD8-4B6A-A0D9-E13EA87D625E@microsoft.com...
> > Thanks for the reply.
> > Item creation with MAPI then display() with OOM.
> > Any idea how i can get a "read-inspector"?
> > Cheers,
> > Sebastian
> > "Dmitry Streblechenko" wrote:
> >
> >> Outlook will not see your changes.
> >> Do you create the message using OOM or MAPI?
> >
> >> > >> Dmitry Streblechenko (MVP)
> >>

> >>

> >>

> >> -
> >> "Sebastian S." <SebastianS> wrote in message
> >> news:1D2CC4C7-D5FD-473F-B3DA-489331D727E8@microsoft.com...
> >> > 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
> >
> >
> >> .
> >>


> .
>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
R contact names does not display in compose emails using Outlook2013 Using Outlook 3
F Open Draft From Compose Window? Using Outlook 8
F Open Compose Only? Using Outlook 6
B Inherit from message compose form? Outlook VBA and Custom Forms 1
B Outlook message compose form Outlook VBA and Custom Forms 1
R (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog? Outlook VBA and Custom Forms 6
R Imap read/unread problem Using Outlook 3
D Can't read some emails - text size too small. Using Outlook 2
B Delete Read Receipts in Your Outlook Outlook VBA and Custom Forms 0
J Increase read pane font size, but NOT image size? Using Outlook 3
J Read Outlook Form fields Outlook VBA and Custom Forms 3
B Inconsistent handling of message read/unread status by Outlook Using Outlook 3
S E-mails marked as read turn back to unread after a couple of seconds Using Outlook 1
M Cannot read the calendar Using Outlook 9
Z Outlook 365 delete reminder you can’t make change to contents of this-read only folder Using Outlook 4
A Inbox didn't got read Outlook VBA and Custom Forms 0
e_a_g_l_e_p_i Is it possible it set the fonts used to read incoming mail Using Outlook 25
R seperate read layout to design in outlook 2016..Help!! Outlook VBA and Custom Forms 3
N Disable Auto Read Receipts sent after using Advanced Find Using Outlook 4
DoctorJellybean Outlook 365 doesn't always mark emails as read Using Outlook 3
N Separate Read Layout Editing Outlook VBA and Custom Forms 0
A Read and Write to Text File Outlook VBA and Custom Forms 1
L Email Read and Delete Outlook VBA and Custom Forms 4
A Separate Read Layout Outlook VBA and Custom Forms 4
M Making Subject field writable (disable Read Only) Outlook VBA and Custom Forms 2
M How can I determine which user read an email Exchange Server Administration 4
Diane Poremsky Mark Sent Items as Read After Copying with a Rule Using Outlook 0
Diane Poremsky Edit and Save Outlook's Read-Only Attachments Using Outlook 0
Rupert Dragwater Some mailboxes show deleted items as not read Using Outlook 5
K cant read email or open attachement Using Outlook 0
R Reply marks read message as unread Using Outlook 1
T Outlook 2013 either fails to mark messages as read or marks them as read, then un-marks them. Using Outlook 1
Mary B VBscript: Need to copy every email to a folder & mark that copy as read Outlook VBA and Custom Forms 5
Mary B Outlook 2013: Rule for copying new email to folder & marking that copy as read Using Outlook 1
M Sorting messages by read/unread status Using Outlook 8
C Mark all incoming emails as read Outlook VBA and Custom Forms 3
FirefIy Marking message read only if replied to the message or Ctrl+Q. Possible? Using Outlook 1
A give User Read Only access to secondary mailbox in Exchange 2010 via AD Exchange Server Administration 1
M How do I mark emails already received as read when I get a second, different email based on subject? Outlook VBA and Custom Forms 3
JR Ryan Outlook marks all as "Read" issue Exchange Server Administration 2
R Cannot read Chinese message after import Using Outlook 2
T Saving Outlook 2010 email with attachments but read the email without Outlook Using Outlook 2
M Oh please read---> Extracting email web leads on to excel spread sheet Using Outlook 3
S Outlook Custom form - selecting text in read page Using Outlook 0
C In need of VBA code to read / parse HTML - Outlook emails Using Outlook 0
A Can't read my mails if they are on a folder... Using Outlook 0
M Unable to read HTML Using Outlook 2
J Cannot read incoming emails Using Outlook 2
P Custom field is read only Using Outlook 1
C (Read, not read) receipt "subject" problem Using Outlook 8

Similar threads

Back
Top