IPWorks OpenPGP 2020 C++ Edition

Questions / Feedback?

MessageFlags Property

Contains the flags of the current message.

Syntax

ANSI (Cross Platform)
char* GetMessageFlags();
int SetMessageFlags(const char* lpszMessageFlags); Unicode (Windows) LPWSTR GetMessageFlags();
INT SetMessageFlags(LPCWSTR lpszMessageFlags);
@property (nonatomic,readwrite,assign,getter=messageFlags,setter=setMessageFlags:) NSString* messageFlags;
- (NSString*)messageFlags;
- (void)setMessageFlags:(NSString*)newMessageFlags;
#define PID_PIMAP_MESSAGEFLAGS 34

IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_PIMAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_PIMAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the flags of the current message. It is also used to specify flags when AppendToMailbox is called.

Examples of possible flag values are server dependent, but can include:

\Deleted Mark a message as deleted (for removal by later ExpungeMailbox).
\Seen Mark a message as read.
\Answered Mark a message as answered.
\Flagged Mark a message as flagged.
\Draft Mark a message as being incomplete (under composition).

Example (Setting MessageFlags)


IMAPControl.MessageSet = "1"
IMAPControl.AddMessageFlags("\Deleted")

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 C++ Edition - Version 20.0 [Build 8249]