Attachment::CreateAttachmentFromString Method
.NET Framework (current version)
Creates an attachment from a string.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CreateAttachmentFromString(String^, ContentType^) | Creates a mail attachment using the content from the specified string, and the specified ContentType. |
![]() ![]() | CreateAttachmentFromString(String^, String^) | Creates a mail attachment using the content from the specified string, and the specified MIME content type name. |
![]() ![]() | CreateAttachmentFromString(String^, String^, Encoding^, String^) | Creates a mail attachment using the content from the specified string, the specified MIME content type name, character encoding, and MIME header information for the attachment. |
Show:

