spree-contrib / spree_drop_ship

Spree Drop Shipping Extension
BSD 3-Clause "New" or "Revised" License
104 stars 120 forks source link

SMTP error for rake spree_sample:drop_ship_orders #48

Closed abrambailey closed 10 years ago

abrambailey commented 10 years ago
funkdified@funktop ~/rails_projects/hearingtracker $ rake spree_sample:drop_ship_orders
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Linking existing line items to suppliers
****
Creating drop ship orders for existing orders
**rake aborted!
ArgumentError: An SMTP To address is required to send a message. Set the message smtp_envelope_to, to, cc, or bcc address.
/home/funkdified/.rvm/gems/ruby-2.1.2@rails4.1/gems/mail-2.5.4/lib/mail/check_delivery_params.rb:9:in `check_delivery_params'
/home/funkdified/.rvm/gems/ruby-2.1.2@rails4.1/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp.rb:98:in `deliver!'
/home/funkdified/.rvm/gems/ruby-2.1.2@rails4.1/gems/mail-2.5.4/lib/mail/message.rb:2129:in `do_delivery'
/home/funkdified/.rvm/gems/ruby-2.1.2@rails4.1/gems/mail-2.5.4/lib/mail/message.rb:232:in `block in deliver'
abrambailey commented 10 years ago

I have also noticed that Mail Method Settings are not available in Spree's config dashboard ... It seems this was to be removed in Spree 2.2.x? Mailers work perfectly for non-spree messages in my app ... what should I do to fix this?

abrambailey commented 10 years ago

Sorry, realized I had an existing dummy order without an email address. Makes sense.