Class MailAttachment

Namespace: redb.Route.Mail
Assembly: redb.Route.Mail.dll

A decoded attachment of a received mail inside . The same attachment is also on the
message attachments (), which is what smtp: sends.

public sealed class MailAttachment : ICloneable

Inheritance

Object→MailAttachment

Implements

Properties

Content

Decoded attachment payload.

public byte[] Content { get; }

ContentType

MIME content type, when known.

public string? ContentType { get; }

FileName

Attachment file name.

public string FileName { get; }

Methods

Clone()

Deep copy for checkpoint snapshots — the payload bytes must not be shared.

public object Clone()

Constructors

MailAttachment(string, byte[], string?)

A decoded attachment of a received mail inside . The same attachment is also on the