Click or drag to resize

EWSContextGetMessageAttachments Method

Gets message attachments and saves them to a specified directory.

Namespace:  Koden.Utils.Exchange
Assembly:  Koden.Utils.Exchange (in Koden.Utils.Exchange.dll) Version: 1.0.6453.26061
Syntax
public FWRetVal<string> GetMessageAttachments(
	ItemId messageID,
	string storageDirectory,
	string filterExtension = ""
)

Parameters

messageID
Type: ItemId
The message ID.
storageDirectory
Type: SystemString
The storage directory to place the files.
filterExtension (Optional)
Type: SystemString
The extension to filter on if looking for a specific file type (sometimes there are images, etc that are irrelevant.

Return Value

Type: FWRetValString
A generic list of strings with the path and filename of saved attachments. Use this to work with saved data.
See Also