Skip to main content

Function: senderDomain()

senderDomain(from, fallback?): string

Defined in: src/lib/email/delivery.ts:65

Domain to stamp into our outbound RFC Message-ID — derived from the sender address (the part after @, before any closing >), falling back to the company domain. Threading later matches an inbound reply's In-Reply-To against the full Message-ID, so the domain just needs to be ours.

Parameters​

from​

string | null | undefined

fallback?​

string = 'nightingalepm.com'

Returns​

string