mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 01:01:30 +02:00
email newsletter capability
This commit is contained in:
parent
d4303c7e46
commit
b986c57577
8 changed files with 169 additions and 1 deletions
|
@ -3,6 +3,7 @@ class EmailWorker
|
|||
sidekiq_options queue: :emails, retry: 10, backtrace: true
|
||||
|
||||
def perform(args={})
|
||||
raise 'no' if ENV['RACK_ENV'].nil? || ENV['RACK_ENV'] == 'development'
|
||||
unsubscribe_token = Site.email_unsubscribe_token args['to']
|
||||
|
||||
if args['no_footer']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue