Mass sending email from meteor.email

I am planning to send a mass number of email attach some img and file. But sometime It will get timeout while sending. Is there are any “all-or-nothing” approach for handle this or return how much I sent?

You should send your emails using a job worker. This allows you to retry failed jobs and keep a record of which succeeded and fatally failed. I’m using the excellent https://github.com/vsivsi/meteor-job-collection for this exact purpose.

1 Like

great solution! beside sending email. Any example to use job collection ?