Table of Contents

Class MailAttachment

Namespace
GastroSky.Models
Assembly
GastroSky.Models.dll

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

string

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

string

Name

The attachment's name.

public required string Name { get; set; }

Property Value

string