mirror of
https://github.com/neocities/neocities.git
synced 2025-08-01 23:31:52 +02:00
email notifications management
This commit is contained in:
parent
be8ad1a888
commit
8a0e121f29
4 changed files with 69 additions and 1 deletions
|
@ -733,7 +733,7 @@ class Site < Sequel::Model
|
|||
if can_email?(args[:col])
|
||||
EmailWorker.perform_async({
|
||||
from: FROM_EMAIL,
|
||||
to: email,
|
||||
to: owner.email,
|
||||
subject: args[:subject],
|
||||
body: args[:body]
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue