mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Refactor domain mailer
- Remove `Que::Mailer` (#895) - Add preview - DRY templates - Add tests - Extract translations
This commit is contained in:
parent
6a61d7de5b
commit
4b91cf900f
21 changed files with 175 additions and 108 deletions
|
@ -19,7 +19,7 @@ class DomainCron
|
|||
RegistrantChangeExpiredEmailJob.enqueue(domain.id)
|
||||
end
|
||||
if domain.pending_delete? || domain.pending_delete_confirmation?
|
||||
DomainMailer.pending_delete_expired_notification(domain.id, true).deliver
|
||||
DomainDeleteMailer.expired(domain).deliver_now
|
||||
end
|
||||
|
||||
domain.preclean_pendings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue