Sets whether the messages to be received will only be the new ones or all of them.
&DataType.NewMessages = Values
0 |
Calls to the Receive method will return all the messages in the folder. This is the default value. |
1 |
Calls to the Receive method will return only the unread messages in the current folder. |
MAPISession/OutlookSession: The value of this property will be effective as from the next call to the ChangeFolder method.
POP3Session: POP3 protocol does not provide information about whether an email has been read or not. Therefore, setting this value to 1 does not have any effect; the count of all messages will be returned.
&GXMailExchange.NewMessages=0
Extended Data Types: MAPISession, OutlookSession, POP3Session
Generators: .NET, .NET Framework, Java
ChangeFolder Method
Login Method
Receive Method
Send Method
MAPISession Data Type
OutlookSession Data Type
POP3Session Data Type