class TalkMailer < ActionMailer::Base
  default from: 'no-reply@rubyparis.org'

  def new_talk(talk)
    @talk = talk
    mail to: ['thibaut@milesrock.com', 'scourtois@cubyx.fr', 'sylvain.abelard+rails@gmail.com'],
         from: talk.speaker_email,
         subject: "[Paris.rb] New Talk: #{talk.title}"
  end
end

class TalkMailer < ActionMailer::Base
  default from: 'no-reply@rubyparis.org'

  def new_talk(talk)
    @talk = talk
    mail to: ['thibaut@milesrock.com', 'scourtois@cubyx.fr', 'sylvain.abelard+rails@gmail.com'],
         from: 'no-reply@rubyparis.org',
         reply_to: talk.speaker_email,
         subject: "[Paris.rb] New Talk: #{talk.title}"
  end
end

Update the reply-to in order to not be tagged as spam.
Update the reply-to in order to not be tagged as spam.
