That’s really the whole question. I have some mail interceptors but when I set the delivery mode to test, they don’t do their thing – is this to be expected?
config.action_mailer.delivery_method = :test
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A bit of a nonstarter question but I’ll leave the answer in case it helps anyone else.
It turns out the interceptor was actually running. The problem I was having is that because it was being executed via delayed_job and delayed_job does not reload the classes on each job (unsurprisingly), the fact that I’d changed the code had not yet filtered through to the jobs themselves.
On restarting the jobs worker, everything came back to normal