Class MailAttachment
An email attachment's details.
public class MailAttachment
- Inheritance
-
MailAttachment
- Inherited Members
Properties
ContentType
[OPTIONAL] The request's content type.
Can be left
null, unlike the other fields here.
public string? ContentType { get; set; }
Property Value
File
The actual attachment file's bytes.
public required byte[] File { get; set; }
Property Value
- byte[]
FileName
The attachment's file name.
public required string FileName { get; set; }
Property Value
Name
The attachment's name.
public required string Name { get; set; }