IActiveSyncTLClientGetAttachment Method

The GetAttachment retrieves an email attachment from the server. The GetAttachment is not supported when the protocol version is 14.0 or 14.1. Use the Fetch element of the ItemOperations command instead.

Namespace:  Aspose.Email.Clients.ActiveSync.TransportLayer
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.12
Syntax
byte[] GetAttachment(
	string attachmentName
)

Parameters

attachmentName
Type: SystemString
The name of the attachment to be retrieved.

Return Value

Type: Byte
Returns attachment data
See Also