Email Queue
Creates a queue for sending emails.
Works with multiple servers.
meteor add nicolaslopezj:email-queue
Usage
Replace Email.send(options)
with EmailQueue.send(options)
.
1EmailQueue.send({ 2 to: 'me@email.com', 3 from: 'app@email.com', 4 subject: 'Test email', 5 html: 'Hello' 6});
Options
1EmailQueue.noEmailsWaitTime = 1000; // Loop sleep time when there are no emails (default: 1000) 2EmailQueue.betweenEmailsWaitTime = 10; // Loop sleep time when there are emails (default: 10)