Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any example of best practice for sending large amount of emails? #956

Closed
zachweinberg opened this issue Jul 29, 2019 · 3 comments
Closed
Labels
type: question question directed at the library

Comments

@zachweinberg
Copy link

zachweinberg commented Jul 29, 2019

What is the best practice while using the @sendgrid/mail library to send 1000 emails when the body of the message is unique for all emails?

@zachweinberg zachweinberg reopened this Jul 29, 2019
@zachweinberg zachweinberg changed the title Any example of best practice for sending large amount of emails. Any example of best practice for sending large amount of emails? Jul 29, 2019
@childish-sambino
Copy link
Contributor

Is the body unique or something that can be templated?

Here's a comment about this in general: sendgrid/sendgrid-csharp#660 (comment)

@childish-sambino childish-sambino added status: waiting for feedback waiting for feedback from the submitter type: question question directed at the library labels Mar 3, 2020
@IanKemp
Copy link

IanKemp commented Mar 5, 2020

Why is there no method that simply takes an array of SendGridMessage objects and batch sends them? The only way to achieve that functionality is by manually constructing a request to the SendGrid API, which entirely defeats the purpose of having a wrapper library.

@childish-sambino
Copy link
Contributor

@childish-sambino childish-sambino removed the status: waiting for feedback waiting for feedback from the submitter label Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question question directed at the library
Projects
None yet
Development

No branches or pull requests

3 participants