Sha256: 3cf642acde07fbccbe12130afeaabca18b57f41277d949c75bdade23a5d94fdc
Contents?: true
Size: 429 Bytes
Versions: 121
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
121 entries across 121 versions & 2 rubygems