This topic has not yet been rated - Rate this topic

Attachment.CreateAttachmentFromString Method

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
Public method Static member CreateAttachmentFromString(String, ContentType) Creates a mail attachment using the content from the specified string, and the specified ContentType.
Public method Static member CreateAttachmentFromString(String, String) Creates a mail attachment using the content from the specified string, and the specified MIME content type name.
Public method Static member 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.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.