Gets or sets the attachment MIME Content-Type.
The Type property is not checked by MailMill. It is up to you to enter a valid Content-Type value.
This sample shows how to set an attachment Content-Type.
MailAttachment oAttachment = new MailAttachment(); oAttachment.Data = xls // Assume xls is a byte array containing an Excel file binary data oAttachment.Type = "application/vnd.ms-excel" oAttachment.Name = "report.xls"
MailAttachment Class | MailMill Namespace