Skip to content
Commits on Jun 11, 2010
  1. add a method to read a mail message from a string

    committed Jun 11, 2010
    Basicly it does exactly what Mail.read does already, it just take a mailfile content as input
Commits on Jun 8, 2010
  1. @mikel

    Bumping version build

    mikel committed Jun 8, 2010
  2. @mikel

    Adding inline attachment support

    mikel committed Jun 7, 2010
Commits on Jun 7, 2010
  1. @mikel
  2. @mikel
  3. @mikel

    Updating CHANGELOG.rdoc

    mikel committed Jun 7, 2010
  4. @mikel
  5. @mikel

    Updating gitignore

    mikel committed Jun 7, 2010
  6. @mikel

    Fixing typo in break_down_to.rb

    mikel committed Jun 7, 2010
  7. @mikel

    changed activesupport dependency to 2.3.6 to fix #53, #64, and def #67.

    Artem Titoulenko committed with mikel Jun 2, 2010
  8. @abloom @mikel

    fixing a typo when generating docs

    abloom committed with mikel May 18, 2010
Commits on May 18, 2010
  1. @mikel
Commits on May 7, 2010
  1. @mikel
  2. @mikel
  3. @emk @mikel

    Handle multiple quoted words in Encodings.unquote_and_convert_to

    emk committed with mikel Apr 16, 2010
    The function Encodings.unquote_and_convert_to isn't used anywhere in the
    current source tree, but it's necessary to correctly handle headers with
    non-ASCII, non-UTF-8 character sets under Ruby 1.8.
    
    For example, we can force the unquoting of the 'To' header as UTF-8 using
    the following code:
    
      to_field = mail.header['to']
      Mail::Encodings.unquote_and_convert_to(to_field.value, 'utf-8')
    
    This patch adds support for multiple quoted chunks in the same header.
    For example:
    
      To: =?Shift_JIS?Q?=93=FA=96{=8C=EA=?= <a@example.com>, \
              =?Shift_JIS?Q?=93=FA=96{=8C=EA=?= <b@example.com>
    
    All that was actually needed was a regular expression tweak to prevent
    the two quoted chunks from being matched as one giant, malformed chunk.
    
    Note that we still don't make any attempt to correctly deal with headers
    that mix different encodings in the same header.  I'm sure these exist
    somewhere in the wild, but I haven't seen them yet.
    
    Ideally, all this code should go away and be replaced with a more
    robust implementation of field.charset and field.decoded.
  4. @jeremy @mikel
  5. @maxim @mikel
  6. @jtrupiano @mikel
  7. @emk @mikel

    Allow bundler to automatically build a gem directly from git

    emk committed with mikel Apr 16, 2010
    Using bundler (now included with Rails 3.0), it's possible to fetch gems
    directly from specific branches in a git repository.  This is very handy
    for contributors and people who need to make small fixes.
    
    With this patch applied, it's possible to include the following line
    in a Gemfile:
    
      gem 'mail', :git => 'git://github.com/mikel/mail.git'
    
    Then you can install the latest master branch using bundler:
    
      bundle install
    
    This patch changes two things about the development process.  First,
    gems are now built using:
    
      rake build
    
    ...or:
    
      gem build mail.gemspec
    
    Second, the generated gemfile now appears in the top-level directory,
    and not in a pkg/ subdirectory.
  8. @Bira @mikel
Commits on Apr 17, 2010
  1. @mikel
Commits on Apr 11, 2010
  1. @mikel

    Updating readme

    mikel committed Apr 11, 2010
  2. @mikel

    Updating change log

    mikel committed Apr 11, 2010
  3. @mikel

    Version bump to 2.2.0

    mikel committed Apr 11, 2010
  4. @mikel
  5. @mikel

    Removing useless code

    mikel committed Apr 11, 2010
  6. @mikel

    Cleanup spec for Ruby 1.9.1

    mikel committed Apr 11, 2010
  7. @mikel

    Massive cleanup in encoding to not split multibyte chars and make it …

    mikel committed Apr 11, 2010
    …all work on Ruby 1.8.7
Commits on Apr 10, 2010
  1. @mikel
  2. @mikel

    Merge branch 'master' into encode

    mikel committed Apr 10, 2010
  3. @mikel

    Fixing dependency to approx 2.3.6

    mikel committed Apr 10, 2010
  4. @mikel

    Fixing up more encoding issues, being sure to call mb_chars where nee…

    mikel committed Apr 10, 2010
    …ded, and fixing adjacent decoding of QP
  5. @mikel
  6. @mikel
  7. @mikel

    Version bump to 2.1.5.7

    mikel committed Apr 10, 2010
Something went wrong with that request. Please try again.