Table of Contents

Class UserMailAttachmentEntity

Namespace
Tharga.Team.MongoDB
Assembly
Tharga.Team.MongoDB.dll

A file kept with a queued mail; its content is removed once the mail is done.

public record UserMailAttachmentEntity : IEquatable<UserMailAttachmentEntity>
Inheritance
UserMailAttachmentEntity
Implements
Inherited Members

Properties

Content

The bytes, until the mail is done.

[BsonIgnoreIfNull]
public byte[] Content { get; init; }

Property Value

byte[]

ContentId

The Content-ID an HTML body names it by, or null.

[BsonIgnoreIfNull]
public string ContentId { get; init; }

Property Value

string

ContentType

The declared content type.

public required string ContentType { get; init; }

Property Value

string

FileName

The name the recipient sees.

public required string FileName { get; init; }

Property Value

string

Size

The size in bytes.

public long Size { get; init; }

Property Value

long