I wrote this code because I wanted the members of my volunteer organization go have a place they could easily get the most current list of email addresses to send a message.
This code reads the names and addresses from the database, and creates a comma delimited list of addresses in the format
Smith, Janet <email@example.com>, .
It then creates two things:
1) A mailto: link to open a message window with all the addresses populated.
<textarea> field that the list can be cut and pasted from.
I hope others find it useful. Comments and suggestions are welcome.
I post it here in recognition of the help I've received on this and other boards.