LinkedResourceCreateLinkedResourceFromString Method (String, ContentType)

Creates the linked resource from string.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public static LinkedResource CreateLinkedResourceFromString(
	string content,
	ContentType contentType
)

Parameters

content
Type: SystemString
A string that contains the resource to be included in the email attachment.
contentType
Type: Aspose.Email.MimeContentType
The type of the content.

Return Value

Type: LinkedResource
A LinkedResource object that contains the embedded resource.
See Also