mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
update mail templates
This commit is contained in:
parent
35f60e53e5
commit
09ba0a2511
10 changed files with 171 additions and 15 deletions
|
@ -1,11 +1,20 @@
|
|||
class ContactInformMailer < ApplicationMailer
|
||||
helper_method :address_processing
|
||||
|
||||
def notify(contact:, domain:, subject:)
|
||||
def notify_dnssec(contact:, domain:)
|
||||
@contact = contact
|
||||
@subject = subject
|
||||
@domain = domain
|
||||
|
||||
subject = "Domeeni #{@domain.name} DNSSEC kirjed ei ole korrektsed / The DNSKEY records of the domain #{@domain.name} are invalid"
|
||||
|
||||
mail(to: contact.email, subject: subject)
|
||||
end
|
||||
|
||||
def notify_nameserver(contact:, domain:)
|
||||
@contact = contact
|
||||
@domain = domain
|
||||
|
||||
subject = "Domeeni #{@domain.name} nimeserveri kirjed ei ole korrektsed / The host records of the domain #{@domain.name} are invalid"
|
||||
mail(to: contact.email, subject: subject)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue