Parses an RFC 5322 style address-list header value (To: / Cc: / Bcc:) into bare email addresses.
To:
Cc:
Bcc:
Handles:
"Doe, Jane" <jane@x.com>
jane@x.com
Jane Doe <jane@x.com>
[]
@
the raw header value, or null/undefined when the header is absent
bare email addresses, in original order
Parses an RFC 5322 style address-list header value (
To:/Cc:/Bcc:) into bare email addresses.Handles:
"Doe, Jane" <jane@x.com>→jane@x.comJane Doe <jane@x.com>→jane@x.comjane@x.com→jane@x.com[]@) are dropped