changed list of email received

This commit is contained in:
Oleg Hasjanov 2021-05-21 12:36:04 +03:00
parent b2226e3ea2
commit 5b276dd729
2 changed files with 29 additions and 3 deletions

View file

@ -671,9 +671,8 @@ class Domain < ApplicationRecord
end
def expired_domain_contact_emails
force_delete_contact_emails.reject do |email|
BouncedMailAddress.where(email: email).count.positive?
end
(primary_contact_emails +
["info@#{name}", "#{prepared_domain_name}@#{name}"]).uniq
end
def all_related_emails