Ews.GetMessage Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
GetMessage(EwsItemId, String)
Downloads and saves a message to specified path in MIME format.
Declaration
public void GetMessage(EwsItemId itemId, string filePath)
Parameters
Type | Name | Description |
---|---|---|
EwsItemId | itemId | ID of a message to save. |
String | filePath | Path to a file where to save the message. |
GetMessage(EwsItemId, Stream)
Downloads and saves a message to specified stream in MIME format.
Declaration
public void GetMessage(EwsItemId itemId, Stream output)
Parameters
Type | Name | Description |
---|---|---|
EwsItemId | itemId | ID of a message to save. |
Stream | output | Stream to which to save the item. |