Accesses the next email message in the Outlook Inbox folder of the default account.
Namespace:
AppRobotic
Assembly:
AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax public string GetNextEmailID(
Object EmailsAllOrUnread,
Object KeepAsUnread
)
Parameters
- EmailsAllOrUnread
- Type: SystemObject
Specify "All" or "Unread", gets either the next email (could be Read/Unread), or only if it is Unread. - KeepAsUnread
- Type: SystemObject
Specify True or False. If True, email will remain Unread. If False, email will be marked as Read.
Return Value
Type:
StringReturns string containing the email's Entry ID and writes it to the "emailOutlookMailItemEntryID" Global Variable which can be used to find this email and take an Action on it. If something fails, returns the error message.
See Also