MailAttachment Constructor
.NET Framework (current version)
Initializes a new instance of the MailAttachment class. Recommended alternative: System.Net.Mail.
Assembly: System.Web (in System.Web.dll)
| 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:
