mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
changed list of email received
This commit is contained in:
parent
b2226e3ea2
commit
5b276dd729
2 changed files with 29 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue