ExchangeClient.SaveMessage

SaveMessage(string, string)

Saves mail message specified by the uri to local file system. The mail message file is RFC 822 compliant format (EML). if you want to parse the mail message files, use MailMessage.

public void SaveMessage(string messageUri, string path)
ParameterTypeDescription
messageUriStringThe Uri of the mail message
pathStringThe target path to save the message

See Also


SaveMessage(string, Stream)

Saves the message.

public void SaveMessage(string messageUri, Stream stream)
ParameterTypeDescription
messageUriStringThe message URI.
streamStreamThe stream.

See Also