diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-04 17:22:10 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-04 17:22:10 +0300 |
commit | cdc62cffcb86dfd939c119cba2acaf266af39f23 (patch) | |
tree | e3fc667ac2afe4feaf6bb00c4fbe3ede6cf8e931 /app/mailers | |
parent | 490ae737c748a393e57040bfd649bb1c4244e494 (diff) |
Add rake task for google schema whitelisting.
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/notify.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb index 0ee19836627..6d671e6e0bd 100644 --- a/app/mailers/notify.rb +++ b/app/mailers/notify.rb @@ -26,6 +26,14 @@ class Notify < ActionMailer::Base delay_for(2.seconds) end + def test_email(recepient_email, subject, body) + mail(to: recepient_email, + subject: subject, + body: body.html_safe, + content_type: 'text/html' + ) + end + private # The default email address to send emails from |