class method
self.deliver_all_later!
Ruby on Rails 8.1.2
Since v8.1.2Signature
self.deliver_all_later!(*deliveries, **options)
Enqueue many emails at once to be delivered through Active Job. When the individual job runs, it will send the email using deliver_now!. That means that the message will be sent bypassing checking perform_deliveries and raise_delivery_errors, so use with caution.
Parameters
-
deliveriesrest -
optionskeyrest
Source
# File actionmailer/lib/action_mailer/message_delivery.rb, line 17
def deliver_all_later!(*deliveries, **options)
_deliver_all_later("deliver_now!", *deliveries, **options)
end
Defined in actionmailer/lib/action_mailer/message_delivery.rb line 17
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer