MailAttachment Constructor

Initializes a new instance of the MailAttachment class. Recommended alternative: System.Net.Mail.

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.

Community Additions

ADD
Show: