Add PhishingAlert maintenance task and mailer
This commit is contained in:
parent
3dd6a59101
commit
746ff92118
5 changed files with 105 additions and 0 deletions
5
spec/mailers/previews/phishing_alert_mailer_preview.rb
Normal file
5
spec/mailers/previews/phishing_alert_mailer_preview.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class PhishingAlertMailerPreview < ActionMailer::Preview
|
||||
def notify
|
||||
PhishingAlertMailer.notify(User.first)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue