All threads / Deliver Later not working

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Deliver Later not working

Stephen Sizer asked in Rails

Hi Guys,

I have a rails app, and for some reason when I call deliver_later the emails aren't sending. When I test it with deliver_now it works fine.

I have redis and sidekiq both running.
TID-owqrlmxrh ActionMailer::DeliveryJob JID-10b51cc7e7b76d99307add2c INFO: start

the above shows it goes to the queue but never sends. Any help would be much appreciated before I pull my hair out.

I am having the same problem. But in the rails server, it says 'deliver_now' even thought the code has it set to 'deliver_later'. And then, it doesn't even send the email.

Were you able to get it to work @Stephen?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 49,679+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.