class FormMailer < ApplicationMailer default from: "info@hubfeenix.fi" , bcc: "info@hubfeenix.fi" def received(data) @data = data mail(subject: "We have received your request") end end