class ActionMailer::DeliveryJob
:nodoc:
want to send emails outside of the request-response cycle.
The ActionMailer::DeliveryJob
class is used when you
def perform(mailer, mail_method, delivery_method, *args) # :nodoc:
def perform(mailer, mail_method, delivery_method, *args) # :nodoc: mailer.constantize.public_send(mail_method, *args).send(delivery_method) end