9 lines
220 B
Ruby
9 lines
220 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
|