System.Net.Mail.Attachment: Method Members

The methods of System.Net.Mail.Attachment are listed below. For a list of all members, see the Attachment Members list.

See Also: Inherited members from System.Net.Mail.AttachmentBase

Public Methods

static
CreateAttachmentFromString(string, System.Net.Mime.ContentType) : Attachment

Creates a mail attachment using the content from the specified string, and the specified System.Net.Mime.ContentType.

static
CreateAttachmentFromString(string, string) : Attachment

Creates a mail attachment using the content from the specified string, and the specified MIME content type name.

static
CreateAttachmentFromString(string, string, System.Text.Encoding, string) : Attachment

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.