public sealed class MailAttachment
The file's bytes.
Type: byte
byte
public required byte[] Data { get; init; }
The file name the recipient sees, including its extension.
Type: string
string
public required string FileName { get; init; }
The file's MIME type, for example application/pdf or image/png.
application/pdf
image/png
public required string MimeType { get; init; }
On This Page