CreateLinkedResourceFromString

CreateLinkedResourceFromString (1 of 3)

Creates the linked resource from string.

Returns: A LinkedResource object that contains the embedded resource.

CreateLinkedResourceFromString(System::String content)
ParameterDescription
contentA string that contains the resource to be included in the email attachment.

CreateLinkedResourceFromString (2 of 3)

Creates the linked resource from string.

Returns: A LinkedResource object that contains the embedded resource.

CreateLinkedResourceFromString(System::String content, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType)
ParameterDescription
contentA string that contains the resource to be included in the email attachment.
contentTypeThe type of the content.

CreateLinkedResourceFromString (3 of 3)

Creates the linked resource from string.

Returns: A LinkedResource object that contains the embedded resource.

CreateLinkedResourceFromString(System::String content, System::SharedPtr < System::Text::Encoding > contentEncoding, System::String mediaType)
ParameterDescription
contentA string that contains the resource to be included in the email attachment.
contentEncodingThe content encoding.
mediaTypeThe MIME media type of the content.