buildMessage
@forge/monorepo / backend/src / buildMessage
Function: buildMessage()
buildMessage(
message):string
Defined in: backend/src/toolkit/mime.ts:180
An RFC 5322 message.
CRLF line endings, not bare newlines: the spec says CRLF and some servers are strict. Getting it wrong produces a message that works with most providers and is rejected by one, which is the worst kind of bug to find in production.
Parameters
message
Returns
string