mirror of
https://github.com/neocities/neocities.git
synced 2025-06-29 07:33:26 +02:00
what's this? is this password reset???
This commit is contained in:
parent
72947b6606
commit
1e1051fd36
8 changed files with 104 additions and 2 deletions
11
workers/email_worker.rb
Normal file
11
workers/email_worker.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class EmailWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
def perform(args={})
|
||||
Mail.deliver do
|
||||
to args[:to]
|
||||
subject args[:subject]
|
||||
body args[:body]
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue