Skip to main content

OutgoingMessage

@retinue/monorepo


@retinue/monorepo / backend/src / OutgoingMessage

Type Alias: OutgoingMessage

OutgoingMessage = object

Defined in: backend/src/toolkit/mime.ts:80

Properties​

attachments?​

readonly optional attachments?: readonly Attachment[]

Defined in: backend/src/toolkit/mime.ts:97


bcc?​

readonly optional bcc?: readonly string[]

Defined in: backend/src/toolkit/mime.ts:84


body?​

readonly optional body?: string

Defined in: backend/src/toolkit/mime.ts:96

The single-body form, kept because tools-google was written against it.

Equivalent to text. Both exist rather than one being renamed, so moving this module did not change the bytes any existing caller produces — which is the property that made the move safe to make.


cc?​

readonly optional cc?: readonly string[]

Defined in: backend/src/toolkit/mime.ts:83


from?​

readonly optional from?: string

Defined in: backend/src/toolkit/mime.ts:85


headers?​

readonly optional headers?: Readonly<Record<string, string>>

Defined in: backend/src/toolkit/mime.ts:102


html?​

readonly optional html?: string

Defined in: backend/src/toolkit/mime.ts:89


inReplyTo?​

readonly optional inReplyTo?: string

Defined in: backend/src/toolkit/mime.ts:99

The Message-ID of the message being replied to. Both threading headers derive from it.


references?​

readonly optional references?: string

Defined in: backend/src/toolkit/mime.ts:101

The original's References, so a long thread keeps its whole chain rather than just the last hop.


replyTo?​

readonly optional replyTo?: string

Defined in: backend/src/toolkit/mime.ts:86


subject​

readonly subject: string

Defined in: backend/src/toolkit/mime.ts:82


text?​

readonly optional text?: string

Defined in: backend/src/toolkit/mime.ts:88

Plain text. At least one of text and html is required.


to​

readonly to: readonly string[]

Defined in: backend/src/toolkit/mime.ts:81