From 3c36d2d1a6717023c22a2b442f82d39df59dc57b Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Thu, 22 Mar 2018 13:02:57 +0100 Subject: [PATCH] Remove failing mails_from default As example.com is not a verified domain, Mandrill rejects the email giving "reject_reason": "unsigned". Also, the mails_from setting is already defined as a MailMethod preference. --- app/models/spree/app_configuration_decorator.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/spree/app_configuration_decorator.rb b/app/models/spree/app_configuration_decorator.rb index c00c9bea27..53cf81b3b7 100644 --- a/app/models/spree/app_configuration_decorator.rb +++ b/app/models/spree/app_configuration_decorator.rb @@ -4,8 +4,6 @@ Spree::AppConfiguration.class_eval do # we can allow to be modified in the UI by adding appropriate form # elements to existing or new configuration pages. - preference :mails_from, :string, default: 'no-reply@example.com' - # Embedded Shopfronts preference :enable_embedded_shopfronts, :boolean, default: false preference :embedded_shopfronts_whitelist, :text, default: nil