GraphClient.GetMessage Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9083)
GetMessage(GraphMessageId, String)
Downloads a message with the specified ID and writes its MIME data into a local file.
Declaration
public void GetMessage(GraphMessageId id, string filePath)
Parameters
Type | Name | Description |
---|---|---|
GraphMessageId | id | ID of a message to retrieve. |
String | filePath | Path to a file to which to save the MIME message. |
GetMessage(GraphMessageId, Stream)
Downloads a message with the specified ID and writes its MIME data into the supplied stream.
Declaration
public void GetMessage(GraphMessageId id, Stream output)
Parameters
Type | Name | Description |
---|---|---|
GraphMessageId | id | ID of a message to retrieve. |
Stream | output | Stream to which to save the MIME message. |