PeekMode Property

When set to True, the message Seen flag is not changed during reading.

Syntax

ANSI (Cross Platform)
int GetPeekMode();
int SetPeekMode(int bPeekMode); Unicode (Windows) BOOL GetPeekMode();
INT SetPeekMode(BOOL bPeekMode);
@property (nonatomic,readwrite,assign,getter=peekMode,setter=setPeekMode:) BOOL peekMode;
- (BOOL)peekMode;
- (void)setPeekMode:(BOOL)newPeekMode;
#define PID_IMAP_PEEKMODE 69

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_IMAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_IMAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

This property contains a true or false to determine whether or not this message should be seen. When this property is set to True, a "PEEK" option is added to all IMAP FETCH commands sent to the server. An RFC compliant IMAP server should not set the "Seen" flag on the message in this case.

This property is not available at design time.

Data Type

Boolean

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