Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a message from the message store.
Syntax
public MapiMessage readMail(str messageID, [int flags])
Run On
Called
Parameters
- messageID
Type: str
The unique ID of the message to retrieve. The ID can be found by using the findNext method.
- flags
Type: int
A list of flags; optional.
The valid flags are as follows:
Return Value
Type: MapiMessage Class
The MapiMessage object that is retrieved or nullNothingnullptrunita null reference (Nothing in Visual Basic).