2014-06-23 23:39:42 +02:00
|
|
|
class NoteMailer < ActionMailer::Base
|
|
|
|
def create(note)
|
|
|
|
@note = note
|
|
|
|
|
2014-06-29 13:37:08 +02:00
|
|
|
mail 'In-Reply-To' => "<event-#{note.event.id}@#{ActionMailer::Base.default_url_options[:host]}>",
|
|
|
|
to: note.event.contact,
|
|
|
|
subject: t('note_mailer.create.subject', subject: note.event.title)
|
2014-06-23 23:39:42 +02:00
|
|
|
end
|
|
|
|
end
|