form mailer

This commit is contained in:
2023-02-09 12:49:33 +02:00
parent 454a3de3f2
commit a04c860354
8 changed files with 74 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
class ApplicationMailer < ActionMailer::Base
default from: "[email protected]"
default from: "[email protected]" , bcc: "[email protected]"
layout "mailer"
end
+8
View File
@@ -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