blob: dabc9e61987082423cafc01ba046521a64ef96d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module Refinery
module Blog
class CommentMailer < ActionMailer::Base
def notification(comment, request)
subject Blog::Comment::Notification.subject
recipients Blog::Comment::Notification.recipients
from "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
sent_on Time.now
@blog_comment = comment
end
end
end
end
|