I want to use delayed_job to send email to the backend, this is / config / initializers / setup _mail.rb
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => DOMAIN,
:user_name => USERNAME,
:password => PASSWORD,
:authentication => "plain",
:enable_starttls_auto => true
}
so I want to know how to configure delayed_job to send mail to backend.Thank.
source
share