class NoteMailer < ActionMailer::Base default from: 'moderateurs@agendadulibre.org' def create(note) @note = note mail 'In-Reply-To' => "", to: note.event.contact, subject: t('note_mailer.create.subject', subject: note.event.title) end end