basalt / mailer/src / assertHeaderSafe
Function: assertHeaderSafe()
> assertHeaderSafe(message): void
Defined in: mailer/src/message.ts:96
The single header-safety choke point. Every resolved message passes through here before it reaches any driver. Rejects CR/LF in the subject and any malformed/injecting address in from/to/cc/bcc/replyTo.
Parameters
message
Returns
void