-
Notifications
You must be signed in to change notification settings - Fork 151
Configuration is ignored, mail is sent with default ActionMailer settings #26
Comments
+1 I'm running into the same issue I have Mailgun configured as an external SMTP and when I click "send test e-mail" it says: Getting the same error at completion of checkout, basically unable to send e-mails as Spree is not using the config provided via this gem |
I'm just taking a look at the code now but seems to me that instead of just using the default Spree mailer (such as Spree::TestMailer) it will be necessary to override the class (via a decorator?) and use the SMTP parameters provided via the settings. Similar to this example from the Rails docs:
http://guides.rubyonrails.org/action_mailer_basics.html (Section 2.8) |
fix #26, add preferred delivery method in mail settings
fix #26, add preferred delivery method in mail settings
Hello,
I have just updated my app bundle including the last version of 3.0 stable branch of spree_mail_settings.
It seems like ActionMailer is now trying to send emails with the default setting (localhost:25), no matter what is set in the config page.
Any suggestions?
This is my gemfile.lock:
GIT
remote: git://github.com/spree-contrib/better_spree_paypal_express.git
revision: 526d7f4f5bb9074b41b8d6ff38c47d01612ededf
branch: 3-0-stable
specs:
spree_paypal_express (3.0.0)
paypal-sdk-merchant (= 1.106.1)
spree_core (~> 3.0.0)
GIT
remote: git://github.com/spree-contrib/spree_editor.git
revision: 00c3db2d06f659e4bb7e600c62ef14e3c7158263
branch: 3-0-stable
specs:
spree_editor (3.0.5)
ckeditor (
> 4.1.2)> 3.0.0)spree_backend (
tinymce-rails (~> 4.1.10)
GIT
remote: git://github.com/spree-contrib/spree_i18n.git
revision: 29c6a015dddcd78408d1ef4ac8f7f77bd0fc4335
branch: 3-0-stable
specs:
spree_i18n (3.0.5)
friendly_id-globalize
globalize (
> 5.0.1)> 0.7.0)i18n_data (
kaminari-i18n (
> 0.3.2)> 4.0.1)rails-i18n (
spree_core (~> 3.0.5)
GIT
remote: git://github.com/spree-contrib/spree_mail_settings.git
revision: d17f10b
branch: 3-0-stable
specs:
spree_mail_settings (3.0.0)
spree_backend (~> 3.0.0)
GIT
remote: git://github.com/spree-contrib/spree_print_invoice.git
revision: d59b21a8e4b5c2f57385074c9a49bfeb2498f4f0
branch: 3-0-stable
specs:
spree_print_invoice (3.0.0.beta)
prawn (
> 1.0.0)> 3.0.0)spree_core (
GIT
remote: git://github.com/spree-contrib/spree_related_products.git
revision: 0fdb345315be15c66a706e419e5d153ff07850b3
branch: 3-0-stable
specs:
spree_related_products (3.2.0)
spree_backend (~> 3.0.0)
GIT
remote: git://github.com/spree-contrib/spree_static_content.git
revision: 80a74e1ad8e1843c6bfabcd700dc8edb84822fdd
branch: 3-0-stable
specs:
spree_static_content (3.0.1)
spree_core (~> 3.0.0)
GIT
remote: git://github.com/spree/spree.git
revision: 62f67c5e810c2d1cbdec6462718216661c08db43
branch: 3-0-stable
specs:
spree (3.0.7)
spree_api (= 3.0.7)
spree_backend (= 3.0.7)
spree_cmd (= 3.0.7)
spree_core (= 3.0.7)
spree_frontend (= 3.0.7)
spree_sample (= 3.0.7)
spree_api (3.0.7)
rabl (
> 0.11.6)> 2.3.1)spree_core (= 3.0.7)
versioncake (
spree_backend (3.0.7)
bootstrap-sass (
> 3.3)> 4.1)jquery-rails (
jquery-ui-rails (
> 5.0)> 0.14)select2-rails (= 3.5.9.1)
spree_api (= 3.0.7)
spree_core (= 3.0.7)
spree_cmd (3.0.7)
thor (
spree_core (3.0.7)
activemerchant (
> 1.47.0)> 0.6)acts_as_list (
awesome_nested_set (
> 3.0.1)> 1.10.1)cancancan (
carmen (
> 1.0.0)> 1.0.0)deface (
ffaker (
> 1.16)> 4.0)font-awesome-rails (
friendly_id (
> 5.1.0)> 1.6.18)highline (
json (
> 1.7)> 0.15, >= 0.15.1)kaminari (
monetize (
> 1.1)> 4.2.0)paperclip (
paranoia (
> 2.1.0)> 4.2.2)premailer-rails
rails (
ransack (
> 1.4.1)> 2.0)responders
sprockets-rails (
state_machines-activerecord (
> 0.2)> 3.0)stringex
truncate_html (= 0.9.2)
twitter_cldr (
spree_frontend (3.0.7)
bootstrap-sass (>= 3.3.5.1, < 3.4)
canonical-rails (
> 0.0.4)> 4.1)jquery-rails (
spree_api (= 3.0.7)
spree_core (= 3.0.7)
spree_sample (3.0.7)
spree_core (= 3.0.7)
GIT
remote: git://github.com/spree/spree_auth_devise.git
revision: 4d1328c93fc5fcbfcb95eb0bd68057b1e8768bbb
branch: 3-0-stable
specs:
spree_auth_devise (3.0.5)
devise (
> 3.4.1)> 3.0.0)devise-encryptable (= 0.1.2)
json
multi_json
spree_core (
GIT
remote: git://github.com/spree/spree_gateway.git
revision: 59ac5bcacf948cbd194814db906e7546c3d9852c
branch: 3-0-stable
specs:
spree_gateway (3.0.0)
spree_core (~> 3.0.0)
GEM
remote: https://rubygems.org/
remote: https://rails-assets.org/
specs:
actionmailer (4.2.5)
actionpack (= 4.2.5)
actionview (= 4.2.5)
activejob (= 4.2.5)
mail (
> 2.5, >= 2.5.4)> 1.0, >= 1.0.5)rails-dom-testing (
actionpack (4.2.5)
actionview (= 4.2.5)
activesupport (= 4.2.5)
rack (
> 1.6)> 0.6.2)rack-test (
rails-dom-testing (
> 1.0, >= 1.0.5)> 1.0, >= 1.0.2)rails-html-sanitizer (
actionview (4.2.5)
activesupport (= 4.2.5)
builder (
> 3.1)> 2.7.0)erubis (
rails-dom-testing (
> 1.0, >= 1.0.5)> 1.0, >= 1.0.2)rails-html-sanitizer (
activejob (4.2.5)
activesupport (= 4.2.5)
globalid (>= 0.3.0)
activemerchant (1.47.0)
activesupport (>= 3.2.14, < 5.0.0)
builder (>= 2.1.2, < 4.0.0)
i18n (>= 0.6.9)
nokogiri (
> 1.4)> 3.1)activemodel (4.2.5)
activesupport (= 4.2.5)
builder (
activerecord (4.2.5)
activemodel (= 4.2.5)
activesupport (= 4.2.5)
arel (
> 6.0)> 0.7)activesupport (4.2.5)
i18n (
json (
> 1.7, >= 1.7.7)> 5.1)minitest (
thread_safe (
> 0.3, >= 0.3.4)> 1.1)tzinfo (
acts_as_list (0.7.2)
activerecord (>= 3.0)
addressable (2.4.0)
arel (6.0.3)
autoprefixer-rails (6.3.3.1)
execjs
awesome_nested_set (3.0.3)
activerecord (>= 4.0.0, < 5)
axlsx (2.0.1)
htmlentities (
> 4.3.1)> 1.0.0)nokogiri (>= 1.4.1)
rubyzip (
bcrypt (3.1.11)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-sass (3.3.6)
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
builder (3.2.2)
byebug (8.2.2)
camertron-eprun (1.1.0)
cancancan (1.10.1)
canonical-rails (0.0.11)
rails (>= 3.1, < 5.0)
capistrano (3.4.0)
i18n
rake (>= 10.0.0)
sshkit (
> 1.3)> 3.1)capistrano-bundler (1.1.4)
capistrano (
sshkit (
> 1.2)> 3.1)capistrano-rails (1.1.6)
capistrano (
capistrano-bundler (
> 1.1)> 3.1)capistrano-rbenv (2.0.4)
capistrano (
sshkit (
> 1.3)> 3.1, >= 3.1.0)capistrano3-unicorn (0.2.1)
capistrano (
carmen (1.0.2)
activesupport (>= 3.0.0)
ckeditor (4.1.6)
cocaine
orm_adapter (
> 0.5.0)> 1.6.0)cldr-plurals-runtime-rb (1.0.1)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorize (0.7.7)
concurrent-ruby (1.0.1)
css_parser (1.3.7)
addressable
debug_inspector (0.0.2)
deface (1.0.2)
colorize (>= 0.5.8)
nokogiri (
polyglot
rails (>= 3.1)
devise (3.4.1)
bcrypt (
> 3.0)> 0.1)orm_adapter (
railties (>= 3.2.6, < 5)
responders
thread_safe (
> 0.1)> 1.2.3)warden (
devise-encryptable (0.1.2)
devise (>= 2.1.0)
erubis (2.7.0)
exception_notification (4.1.4)
actionmailer (
> 4.0)> 4.0)activesupport (
execjs (2.6.0)
ffaker (1.32.1)
font-awesome-rails (4.5.0.1)
railties (>= 3.2, < 5.1)
friendly_id (5.1.0)
activerecord (>= 4.0.0)
friendly_id-globalize (1.0.0.alpha2)
friendly_id (
> 5.1.0, < 6.0)> 1.2)globalid (0.3.6)
activesupport (>= 4.1.0)
globalize (5.0.1)
activemodel (>= 4.2.0, < 4.3)
activerecord (>= 4.2.0, < 4.3)
highline (1.6.21)
htmlentities (4.3.4)
i18n (0.7.0)
i18n_data (0.7.0)
jbuilder (2.4.1)
activesupport (>= 3.0.0, < 5.1)
multi_json (
jquery-rails (4.1.0)
rails-dom-testing (
> 1.0)> 6.7)railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.3)
kaminari (0.16.3)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
kaminari-i18n (0.3.2)
kaminari
rails
kgio (2.10.0)
libv8 (3.16.14.13)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mime-types (2.99.1)
mini_portile2 (2.0.0)
minitest (5.8.4)
monetize (1.4.0)
money (
money (6.7.0)
i18n (>= 0.6.4, <= 0.7.0)
sixarm_ruby_unaccent (>= 1.1.1, < 2)
multi_json (1.11.2)
mysql2 (0.3.20)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (3.0.2)
nokogiri (1.6.7.2)
mini_portile2 (
> 2.0.0.rc2)> 0.5.5)orm_adapter (0.5.0)
paperclip (4.2.4)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
cocaine (
mime-types
paranoia (2.1.5)
activerecord (
> 4.0)> 1.0)paypal-sdk-core (0.2.10)
multi_json (
xml-simple
paypal-sdk-merchant (1.106.1)
paypal-sdk-core (
> 0.2.3)> 0.2.2)pdf-core (0.2.5)
polyamorous (1.3.0)
activerecord (>= 3.0)
polyglot (0.3.5)
prawn (1.0.0)
pdf-core (
ttfunk (
> 1.1.1)> 1.7, >= 1.7.9)premailer (1.8.6)
css_parser (>= 1.3.6)
htmlentities (>= 4.0.0)
premailer-rails (1.9.0)
actionmailer (>= 3, < 5)
premailer (
rabl (0.11.8)
activesupport (>= 2.3.14)
rack (1.6.4)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.5)
actionmailer (= 4.2.5)
actionpack (= 4.2.5)
actionview (= 4.2.5)
activejob (= 4.2.5)
activemodel (= 4.2.5)
activerecord (= 4.2.5)
activesupport (= 4.2.5)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.5)
sprockets-rails
rails-assets-datetimepicker (2.5.1)
rails-assets-jquery (>= 1.7.2)
rails-assets-jquery-mousewheel (>= 3.1.13)
rails-assets-php-date-formatter (>= 1.3.3)
rails-assets-jquery (2.2.1)
rails-assets-jquery-mousewheel (3.1.13)
rails-assets-jquery (>= 1.2.2)
rails-assets-php-date-formatter (1.3.3)
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (
> 1.6.0)> 2.0)rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (
rails-i18n (4.0.8)
i18n (
> 0.7)> 4.0)railties (
railties (4.2.5)
actionpack (= 4.2.5)
activesupport (= 4.2.5)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.16.0)
rake (11.0.1)
ransack (1.4.1)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (
> 1.1)> 1.4)rdoc (4.2.2)
json (
ref (2.0.0)
responders (2.1.1)
railties (>= 4.2.0, < 5.1)
rubyzip (1.0.0)
sass (3.4.21)
sass-rails (5.0.4)
railties (>= 4.0.0, < 5.0)
sass (
> 3.1)> 1.7, >= 1.7.7)sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sdoc (0.4.1)
json (
rdoc (
> 4.0)> 0.14)select2-rails (3.5.9.1)
thor (
sixarm_ruby_unaccent (1.1.1)
spring (1.6.4)
sprockets (3.5.2)
concurrent-ruby (
> 1.0)> 4.1)rack (> 1, < 3)
sprockets-rails (2.3.3)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.11)
sshkit (1.8.1)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
state_machines (0.4.0)
state_machines-activemodel (0.3.0)
activemodel (
state_machines (>= 0.4.0)
state_machines-activerecord (0.3.0)
activerecord (
> 4.1)> 3.16.14.0)state_machines-activemodel (>= 0.3.0)
stringex (2.6.0)
therubyracer (0.12.2)
libv8 (
ref
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.2)
tinymce-rails (4.1.10)
railties (>= 3.1.1)
truncate_html (0.9.2)
ttfunk (1.1.1)
turbolinks (2.5.3)
coffee-rails
twitter_cldr (3.2.1)
camertron-eprun
cldr-plurals-runtime-rb (
> 1.0.0)> 0.1)json
tzinfo
tzinfo (1.2.2)
thread_safe (
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
unicorn (4.9.0)
kgio (
> 2.6)> 0.7)rack
raindrops (
versioncake (2.3.1)
actionpack (>= 3.2)
activesupport (>= 3.2)
railties (>= 3.2)
tzinfo
warden (1.2.6)
rack (>= 1.0)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
xml-simple (1.1.5)
PLATFORMS
ruby
DEPENDENCIES
axlsx
byebug
capistrano (
> 3.4.0)> 1.1.4)capistrano-bundler (
capistrano-rails (
> 1.1.3)> 2.0.3)capistrano-rbenv (
capistrano3-unicorn (
> 0.2.1)> 4.1.0)coffee-rails (
exception_notification
jbuilder (
> 2.0)> 0.3.20)jquery-rails
mysql2 (
rails (= 4.2.5)
rails-assets-datetimepicker!
sass-rails (
> 5.0)> 0.4.0)sdoc (
spree!
spree_auth_devise!
spree_editor!
spree_gateway!
spree_i18n!
spree_mail_settings!
spree_paypal_express!
spree_print_invoice!
spree_related_products!
spree_static_content!
spring
sqlite3
therubyracer
turbolinks
uglifier (>= 1.3.0)
unicorn (
> 4.9.0)> 2.0)web-console (
BUNDLED WITH
1.11.2
The text was updated successfully, but these errors were encountered: