Attachment.CreateAttachmentFromString Method
.NET Framework 4.5
Creates an attachment from a string.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| 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. |