form mailer
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class ApplicationMailer < ActionMailer::Base
|
||||
default from: "[email protected]"
|
||||
default from: "[email protected]" , bcc: "[email protected]"
|
||||
layout "mailer"
|
||||
end
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
class FormMailer < ApplicationMailer
|
||||
default from: "[email protected]" , bcc: "[email protected]"
|
||||
|
||||
def received(data)
|
||||
@data = data
|
||||
mail(subject: "We have received your request")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user