seek4science / seek

For finding, sharing and exchanging Data, Models, Simulations and Processes in Science.
http://www.seek4science.org
BSD 3-Clause "New" or "Revised" License
77 stars 52 forks source link

specialize MailDeliveryJob to pick up changed smtp settings without needing to restart job #2070

Open stuzart opened 5 days ago

stuzart commented 5 days ago

The job used is configured here: https://github.com/seek4science/seek/blob/main/config/application.rb#L75

would just need to subclass MailDeliveryJob, and then propogate the smtp settings before the job is performed - similar to EmailJob