Attachment Constructor (String, String)

Initializes a new instance of the Attachment class.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public Attachment(
	string fileName,
	string mediaType
)

Parameters

fileName
Type: SystemString
Name of the file.
mediaType
Type: SystemString
Type media type name.
See Also