Open cgrbyk opened 2 months ago
this would be great
@cgrbyk the tx API, by definition, is meant to be transactional/atomic, ideally aimed at one recipient. The array support is there, just in case. Sending tx e-mails to a large number of subscribers, not sure if that can be considered "transactional" anymore, and of course, internally, it then requires the full concurrent+batch processing engine to deliver messages, which is what the campaign manager does.
Might as well just create a temp list out of a query and create a campaign against that temp list?
I want to be able to send transactional emails to a list(email list). /api/tx can accept a list id and then send transactional email to every subscriber in that list.
This can be workaround by querying subscribers by a list id and putting all subscriber ids to "subscriber_ids" that is in the POST /api/tx but having native support would be nice.
I can try to create a pr for this if anyone else needs this. but I never write in go before FYI.