Skip to content

Function: isSenderAllowed()

isSenderAllowed(from, patterns): boolean

Whether from is permitted by the allow-list. An empty (or absent) allow-list permits everything: resolveEmailConfig is what turns the configured SenderPolicy into concrete patterns, so an empty list here means the policy had nothing to narrow to.

string

string[]

boolean