Add PhishingAlert maintenance task and mailer

This commit is contained in:
simon lehericey 2024-07-24 17:01:22 +02:00
parent 3dd6a59101
commit 746ff92118
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
5 changed files with 105 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class PhishingAlertMailerPreview < ActionMailer::Preview
def notify
PhishingAlertMailer.notify(User.first)
end
end