Old Rails 2 Delayed_Job User_Mailer Question
So I'm having an interesting issue. I'm trying to get this gem delayed_job to send an invitation email to sign up to an email address. The process seems to be working, and it is telling me that the email has been sent, however.. I receive no email,
This is a link to the related files that interact with each other as well as some command line stuff to show ho the delayed job is processing, and lying to me.
I need help figuring out why the email isn't actually sending. If you have any questions to help clarify the information I have given, please ask so I can help you help me.
It's been a really long time since I've used Delayed Job, but here's what I'd do:
- Try checking for DelayedJob errors. I'm not sure how you do this, but they are either logged in the database or in your Rails log file I'd guess. I'm sure you can find information on this on their Readme/Wiki or on Google.
- If you don't find anything, you can try running the same code that your background job does, but manually in the Rails console in production. You'll then know if your code was wrong if that succeeds or not. Chances are there's some sort of SMTP authentication issue or something.