Skip to content

basalt / mailer/src / LogMailDriverOptions

Interface: LogMailDriverOptions ​

Defined in: mailer/src/drivers/log.ts:5

Properties ​

logBody? ​

> optional logBody?: boolean

Defined in: mailer/src/drivers/log.ts:13

Include the full message body in the log line. Default: true only when NODE_ENV is explicitly development or test, false anywhere else (production, staging, or NODE_ENV unset — fail-closed) — mail bodies routinely carry password reset links, magic links and tokens, which must not end up retained by a log aggregator because a deploy was left on the default driver.

Released under the MIT License.