diff --git a/app/mailers/contacts_mailer.rb b/app/mailers/contacts_mailer.rb index 5c32f58d21bfe302b29b29255d89bc12d13b49b1..35764830b3c05b3bc84b5f4cbd61fa2edcfb6141 100644 --- a/app/mailers/contacts_mailer.rb +++ b/app/mailers/contacts_mailer.rb @@ -18,6 +18,7 @@ # along with portalmec. If not, see <http://www.gnu.org/licenses/>. class ContactsMailer < ApplicationMailer + default from: Proc.new { @contact.email } def new_contact_received(contact) @contact = contact