A mail patch for decoding some improper mails.
- ruby 2.5+
- mail 2.8
- charlock_holmes (using libicu)
Add this line to your application's Gemfile:
gem 'mail-jdec'
Then execute:
$ bundle
Use mail as usual. You can enable/disable patched features as follows:
# disable patch
Mail::Jdec.disable!
# enable patch
Mail::Jdec.enable!
Pull requests are welcome at https://github.com/kanety/mail-jdec.
The gem is available as open source under the terms of the MIT License.