Skip to content

Function: systemSenderAddress()

systemSenderAddress(source): string | undefined

The address SYSTEM mail sends from, or undefined when nothing configured yields one: an explicit ResolvedSender.systemFrom wins, else no-reply@<domain>, else the fixed from.

no-reply@<domain> outranks a configured from on purpose. A fixed from is typically a person or a team address chosen for mail a HUMAN sent, and a verification code arriving from it invites a reply nobody reads. Set systemFrom / EMAIL_SYSTEM_FROM to name the address explicitly (a monitored support@, a differently-spelled donotreply@).

Returns undefined rather than throwing so config resolution can fold the result into the sender allow-list before any send happens.

SenderSource

string | undefined