OutgoingMessage
@forge/monorepo / backend/src / OutgoingMessage
Type Alias: OutgoingMessage
OutgoingMessage =
object
Defined in: backend/src/toolkit/mime.ts:80
Properties
attachments?
readonlyoptionalattachments?: readonlyAttachment[]
Defined in: backend/src/toolkit/mime.ts:97
bcc?
readonlyoptionalbcc?: readonlystring[]
Defined in: backend/src/toolkit/mime.ts:84
body?
readonlyoptionalbody?: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?
readonlyoptionalcc?: readonlystring[]
Defined in: backend/src/toolkit/mime.ts:83
from?
readonlyoptionalfrom?:string
Defined in: backend/src/toolkit/mime.ts:85
headers?
readonlyoptionalheaders?:Readonly<Record<string,string>>
Defined in: backend/src/toolkit/mime.ts:102
html?
readonlyoptionalhtml?:string
Defined in: backend/src/toolkit/mime.ts:89
inReplyTo?
readonlyoptionalinReplyTo?: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?
readonlyoptionalreferences?: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?
readonlyoptionalreplyTo?:string
Defined in: backend/src/toolkit/mime.ts:86
subject
readonlysubject:string
Defined in: backend/src/toolkit/mime.ts:82
text?
readonlyoptionaltext?:string
Defined in: backend/src/toolkit/mime.ts:88
Plain text. At least one of text and html is required.
to
readonlyto: readonlystring[]
Defined in: backend/src/toolkit/mime.ts:81