I'm building a site that sends out theft advisories to an organization's membership and law enforcement. Data is in a SQL Server database maintained by the app. Currently, when a notice needs to go out, a new mail message is created and addressed to recipients that were selected for that particular message (such as range from a starting zip code, all subscribers within a particular state). The number can vary considerably based on the criteria. It works, but I'm concerned about performance as the number of subscribers grows over time. (Some messages could have hundreds of recipients, though most are 50 or fewer.)
I'm wondering if it's possible to dynamically create a temporary mailing list for each notice consisting of only the selected recipients from within code, then delete it once it has been sent. Would this approach be more efficient for messages that need to go to a large number of recipients, rather than sending regular mail messages with lots of BCCs? Or, are there other strategies for handling large mailings?
If there is an API for creating/editing a mailing list, where can I find the documentation for it?