Mail::Jdec

A mail patch for decoding some improper mails.

Dependencies

  • ruby 2.5+
  • mail 2.8
  • charlock_holmes (using libicu)

Installation

Add this line to your application's Gemfile:

gem 'mail-jdec'

Then execute:

$ bundle

Usage

Use mail as usual. You can enable/disable patched features as follows:

# disable patch
Mail::Jdec.disable!

# enable patch
Mail::Jdec.enable!

Contributing

Pull requests are welcome at https://github.com/kanety/mail-jdec.

License

The gem is available as open source under the terms of the MIT License.