chickadee » email-address » email-address-list

email-address-list string-port-or-lazy-sequenceprocedure

This API will take its argument and try to parse a list of addresses separated by commas or whitespace.

It will parse as many addresses (mailboxes or groups) as it can. Any unparsable data will be returned in the 2nd value. If everything was parsable then the 2nd value will be #<lazy-null>.

This parser is much more lenient than a To: header parser because it allows the addresses to be delimited with whitespace and it does not require the whole input to be parsable in order to succeed.