app/mailers/contact_mailer.rb
class ContactMailer < ActionMailer::Base
default from: "Breakthrough Men's Community <scott@breakthroughformen.org>"
default to: "scott@breakthroughformen.org"
def new_message(message)
@name = message.name
@email = message.email
@message = message.message
mail(to: "#{@name} <#{@email}>".html_safe,
cc: "scott@breakthroughformen.org",
subject: "Fwd: Contact Form")
end
end