Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define PR_MESSAGE_FLAGS #16

Open
babolivier opened this issue Oct 18, 2024 · 0 comments
Open

Define PR_MESSAGE_FLAGS #16

babolivier opened this issue Oct 18, 2024 · 0 comments

Comments

@babolivier
Copy link
Member

babolivier commented Oct 18, 2024

PR_MESSAGE_FLAGS is a MAPI property that can be used by CreateItem (and probably also UpdateItem) to define a range of properties on a message, such as whether they're read/unread, draft, etc. The different flags are documented here: https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagmessageflags-canonical-property

The actual values of (most of) these flags can be found here: https://github.com/microsoft/MAPIStubLibrary/blob/1d30c31ebf05ef444371520cd4268d6e1fda8a3b/include/MAPIDefS.h#L2143-L2154

Some of these values are defined in comm-central, but we should probably move them out and properly define PR_MESSAGE_FLAGS as an enum in ews-rs, since it's not Thunderbird-specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant