Function: isValidSender()
isValidSender(
v):boolean
Defined in: src/types/schemas/email.ts:35
Validate a sender (From) value — either a bare address or the friendly Name <email@domain> form
Resend accepts (e.g. Nightingale PM <billing@nightingalepm.com>). Requires exactly one angle
pair with nothing after it, a valid address inside, and (per RFC 5322) a comma in the display name
only when the name is double-quoted. Rejects the inputs Resend would later 4xx on.
Parameters
v
string
Returns
boolean