Closed nicolas-besnard closed 7 years ago
I'd like to change the default location Rails.root.join('tmp', 'letter_opener') by a custom way.
Rails.root.join('tmp', 'letter_opener')
Is there any way to achieve that ?
You can put following into your initializers folder:
ActionMailer::Base.add_delivery_method :letter_opener, LetterOpener::DeliveryMethod, :location => Rails.root.join("tmp", "some_path")
I'd like to change the default location
Rails.root.join('tmp', 'letter_opener')
by a custom way.Is there any way to achieve that ?