MailAttachment.MailAttachment(String, MailEncoding) Constructor
.NET Framework 2.0
Initializes a new instance of the MailAttachment class with the specified file name and encoding type for the attachment. Recommended alternative: System.Net.Mail.
Namespace: System.Web.Mail
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public MailAttachment ( String filename, MailEncoding encoding )
public function MailAttachment ( filename : String, encoding : MailEncoding )
Not applicable.
Parameters
- filename
The name of the attachment file.
- encoding
The type of MailEncoding for the attachment.
Community Additions
ADD
Show: