Mapi.readMail Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
readMail(String) |
Retrieves a message from the message store. |
readMail(String, Int32) |
readMail(String)
Retrieves a message from the message store.
public:
virtual Dynamics::AX::Application::MapiMessage ^ readMail(System::String ^ text1);
public virtual Dynamics.AX.Application.MapiMessage readMail (string text1);
abstract member readMail : string -> Dynamics.AX.Application.MapiMessage
override this.readMail : string -> Dynamics.AX.Application.MapiMessage
Public Overridable Function readMail (text1 As String) As MapiMessage
Parameters
- text1
- String
Returns
The MapiMessage object that is retrieved or nullNothingnullptrunita null reference (Nothing in Visual Basic).
Applies to
readMail(String, Int32)
public:
virtual Dynamics::AX::Application::MapiMessage ^ readMail(System::String ^ _messageID, int _flags);
public virtual Dynamics.AX.Application.MapiMessage readMail (string _messageID, int _flags);
abstract member readMail : string * int -> Dynamics.AX.Application.MapiMessage
override this.readMail : string * int -> Dynamics.AX.Application.MapiMessage
Public Overridable Function readMail (_messageID As String, _flags As Integer) As MapiMessage
Parameters
- _messageID
- String
A list of flags; optional. The valid flags are as follows:
- _flags
- Int32
A list of flags; optional. The valid flags are as follows: