Function: listSenderOptions()
listSenderOptions(
config,userEmail):string[]
Expand the resolved config’s allow-list into the concrete From
addresses offered to the current user - the data a UI sender dropdown
renders. Exact-address patterns pass through; domain wildcards
(*@domain.com / bare domain.com) are concretized as
<user-local>@<domain> and dropped when no OBO user local part is
available. When no allow-list is configured, the single default sender
(resolveSenderAddress) is returned when it can be resolved,
else an empty list. The default resolved sender, when permitted, is
ordered first.
Parameters
Section titled “Parameters”config
Section titled “config”userEmail
Section titled “userEmail”string | undefined
Returns
Section titled “Returns”string[]