System.Web.Mail.MailAttachment Members

The members of System.Web.Mail.MailAttachment are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Web.Mail.MailAttachment class with the specified file name for the attachment. Sets the System.Text.Encoding property to MailEncoding.UUEncode by default. Recommended alternative: System.Net.Mail.

Initializes a new instance of the System.Web.Mail.MailAttachment class with the specified file name and encoding type for the attachment. Recommended alternative: System.Net.Mail.

Public Properties

[read-only]
EncodingMailEncoding.

Gets the type of encoding for the e-mail attachment. Recommended alternative: System.Net.Mail.

[read-only]
Filenamestring.

Gets the name of the attachment file. Recommended alternative: System.Net.Mail.