9 lines
219 B
Ruby
9 lines
219 B
Ruby
class FormMailer < ApplicationMailer
|
|
default from: "info@hubfeenix.fi" , bcc: "info@hubfeenix.fi"
|
|
|
|
def received(data)
|
|
@data = data
|
|
mail(to: data[:email] , subject: "We have received your request")
|
|
end
|
|
end
|