sendgrid / sendgrid-ruby

The Official Twilio SendGrid Led, Community Driven Ruby API Library
https://sendgrid.com
MIT License
625 stars 322 forks source link

How do I send an email to a list of users? #444

Closed DmitryBarskov closed 3 years ago

DmitryBarskov commented 4 years ago

If I have some category or some list of users in SendGrid, how do I send an email to this category/list without listing all their emails in API request? Is it possible?

In UI I create a single send and choose a list, I can see total recipients count.

childish-sambino commented 4 years ago

You can use the Single Send API: https://sendgrid.com/docs/for-developers/sending-email/single-sends-2020-update/