Module: Mailblastr::Batch

Defined in:
lib/mailblastr/emails.rb

Overview

Batch send — Mailblastr::Batch.send([...]). POST /emails/batch Batch items reject attachments and scheduled_at — send those individually via Mailblastr::Emails.send.

Class Method Summary collapse

Class Method Details

.send(payloads, options = {}) ⇒ Object



124
125
126
# File 'lib/mailblastr/emails.rb', line 124

def send(payloads, options = {})
  Client.request(:post, "/emails/batch", body: payloads, options: options)
end