Reputation: 2610
I am sending a mail by using deliver_later method of Action Mailer but it is sending the mail at same time , I get the response from the controller when the complete action has done, My question is that is there any way to send the mail asynchronously without any gem
Upvotes: 0
Views: 80
Reputation: 1183
You need to enqueue the jobs of sending emails. There is a Rails built-in framework called Active Jobs. For more info here: http://guides.rubyonrails.org/active_job_basics.html
Upvotes: 2