Gets specified mail message from server. Use MailBuilder to create IMail object.
Namespace: Lesnikowski.ClientAssembly: Mail (in Mail.dll) Version: 3.0.1213.909
Syntax
| C# |
|---|
public string GetMessage( long messageNumber ) |
| Visual Basic |
|---|
Public Function GetMessage ( _ messageNumber As Long _ ) As String |
| Visual C++ |
|---|
public: String^ GetMessage( long long messageNumber ) |
Parameters
- messageNumber
- Type: System..::..Int64
Number of the message to get (starts from 1).
Return Value
String containing email message.
Exceptions
| Exception | Condition |
|---|---|
| Lesnikowski.Client..::..ServerException | -ERR response or corrupted response. |