OpenPop.NET POP3 Library Documentation |
|
Pop3Client.GetMessageAsBytes Method
Fetches a message in raw form from the server
public
byte[] GetMessageAsBytes(
int messageNumber);
Parameters
-
messageNumber
- Message number on server, which may not be marked as deleted.
Must be inside the range [1, messageCount]
Return Value
The raw bytes of the message
Exceptions
Exception Type |
Condition |
PopServerException
|
If the server did not accept the command sent to fetch the message |
See Also
Pop3Client Class | OpenPop.Pop3 Namespace