This documentation is archived and is not being maintained.
MailAttachment Constructor
Visual Studio 2008
Initializes a new instance of the MailAttachment class. Recommended alternative: System.Net.Mail.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
MailAttachment(String) | Initializes a new instance of the MailAttachment class with the specified file name for the attachment. Sets the Encoding property to UUEncode by default. Recommended alternative: System.Net.Mail. |
|
MailAttachment(String, MailEncoding) | Initializes a new instance of the MailAttachment class with the specified file name and encoding type for the attachment. Recommended alternative: System.Net.Mail. |
Show: