I used Delayed_Jobs to send emails. Except I think that if it fails to send to 'every single email' then it tries and reruns the entire batch again.
How do I make it skip an email address if its not correct?
I used Delayed_Jobs to send emails. Except I think that if it fails to send to 'every single email' then it tries and reruns the entire batch again.
How do I make it skip an email address if its not correct?
Hi, if an exception occurs delayed_job will treat the job as failed and keep rerunning it. You should capture exceptions to make sure that at the end a job will always be considered as succesful.