SetContentFromString

SetContentFromString (1 of 3)

Sets the content from string.

Returns: void Aspose::Email::

SetContentFromString(System::String contentString, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType)
ParameterDescription
contentStringThe content string.
contentTypeType of the content.

SetContentFromString (2 of 3)

Sets the content from string.

Returns: void Aspose::Email::

SetContentFromString(System::String contentString, System::SharedPtr < System::Text::Encoding > encoding, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType, Aspose::Email::Mime::TransferEncoding te)
ParameterDescription
contentStringThe content string.
encodingThe encoding.
contentTypeThe content type.
teThe transfer encoding.

SetContentFromString (3 of 3)

Sets the content from string.

Returns: void Aspose::Email::

SetContentFromString(System::String contentString, System::SharedPtr < System::Text::Encoding > encoding, System::String mediaType)
ParameterDescription
contentStringThe content string.
encodingThe encoding.
mediaTypeType of the media.