Sha256: f63225295fb5f4d7f1bd0f18d1f912c485f313f28e2ebca42fb2a67f690e6c43
Contents?: true
Size: 429 Bytes
Versions: 54
Compression:
Stored size: 429 Bytes
Contents
namespace :email do desc 'Sends test email to specified address - Example: EMAIL=spree@example.com bundle exec rake email:test' task test: :environment do unless ENV['EMAIL'].present? raise ArgumentError, "Must pass EMAIL environment variable. " \ "Example: EMAIL=spree@example.com bundle exec rake email:test" end Spree::TestMailer.test_email(ENV['EMAIL']).deliver_now end end
Version data entries
54 entries across 54 versions & 1 rubygems