Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mikel/mail
head fork: mikel/mail
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Jan 20, 2012
@kennyj kennyj Fix more warning: possibly useless use of == in void context b445479
Commits on Jan 21, 2012
@kennyj kennyj The behavior of value_decode method is difference between ruby 1.8 an…
…d ruby 1.9. It should return a UTF-8 encoded string.
Commits on Feb 08, 2012
@ermaker ermaker Fix a bug of TestRetriever with :count => 1 e9630e1
@ermaker ermaker Fix a bug of TestRetriever with same emails of INBOX ec23f73
@ermaker ermaker Add a spec of TestRetriever 0599e2a
@mreinsch mreinsch fix mail reading: don't raise invalid byte sequence in UTF-8 when rea…
…ding non-UTF-8 emails
Commits on Feb 09, 2012
@ged ged Make Mail::Header properly Enumerable 430914f
Commits on Feb 14, 2012
@amatsuda amatsuda define NilClass#blank? only if not defined yet d20bc99
Commits on Feb 18, 2012
@mrkn mrkn fix Mail::CommonAddress#value=, Mail::CommonAddress#<< and Mail::Enco…

	* Mail::CommonAddress#value= should be available for multi-byte addresses.

	* Mail::CommonAddress#<< should be available for multi-byte addresses.

	* Mail::CommonAddress#<< should affect its value.

	* Mail::Encodings.encode_non_usascii should not change the argument
          to make Mail::CommonAddress#value= preserve the contents of its argument.
Commits on Feb 19, 2012
@byteforscher byteforscher Fixes #349 an inverted condition on imap open read_only 219717c
Commits on Feb 22, 2012
@bogdan bogdan Support 8bit encoding for ruby 1.9 c2e09e2
Commits on Feb 23, 2012
@kingargyle kingargyle Enable TLS support under Ruby 1.8.x.
There needs to be a check for which version of ruby is being used
when trying to enable tls support.   Ruby 1.8 Net::SMTP does not
support the context object for enabling the TLS support, you
need to pass the OPEN::SSL::VERIFY related constant directly.

This patch checks for the version of Ruby and enables it as appropriate.
Commits on Mar 01, 2012
@matehat matehat Small typo in readme. 2fe09c5
Commits on Mar 03, 2012
@bogdan bogdan Add maximum_amount of parsed headers configuration parameter 781567b
Commits on Mar 06, 2012
@bogdan bogdan Headers parsing performance optimization bced96d
Commits on Mar 10, 2012
@bogdan bogdan Cleanup code 2785616
@bogdan bogdan Mail::Header: cache charset properly 4668309
Commits on Mar 15, 2012
@mikel Merge pull request #357 from felixroeser/master
Fixes #349 an inverted condition on imap open read_only
Commits on Mar 16, 2012
@robdimarco robdimarco Updated IMAP documentation to fix typo and have all options documented 7bd1f02
Commits on Mar 23, 2012
@gerad gerad typo in comment "ready_only" => "read_only" 0c2fbb6
Commits on Mar 24, 2012
@mikel Remove duplicated line feed from regexp ffa7db3
@mikel Updaitng changelog 0961314
@mikel Removing unused variable 99326c6
@arunagw arunagw Merge pull request #364 from matehat/patch-1
Small typo in readme.
@mikel Merge pull request #374 from gerad/master
typo in comment "ready_only" should be "read_only"
@mikel Merge branch 'master' of into robd…

Commits on Apr 10, 2012
@ConradIrwin ConradIrwin Split strictly on MIME boundary lines [Fixes #379]
Some mail generators ignore RFC 2046's "Boundary delimeters must not
appear within the encapsulated material" by using MIME boundaries for
inner parts that contain the MIME boundaries for outer parts.

To parse these emails as the author intended it is necessary to split
encapsulated content only on boundary delimeters that are on their own
line, instead of those that appear with suffixed content.
Commits on Apr 13, 2012
@technoweenie technoweenie copy dat unicode over from active support a3e5b7bdf2996893c1d11878a66…
@technoweenie technoweenie The unicode dat file is a marshal of some ActiveSupport classes. This…
… fixes it.
@technoweenie technoweenie Fix Multibyte::Chars#upcase/downcase 94d3239
Commits on Apr 24, 2012
Mickey Reiss Fixed typo in documentation 13f7f8f
@arunagw arunagw Merge pull request #387 from mickeyreiss/master
Fixed a typo...
Commits on May 04, 2012
@danieltreacy danieltreacy Issue #390: Fixed failed parsing of attachment file names that aren't…
… wrapped in quotation marks
Commits on May 15, 2012
Eric Chapweske Revert "Per RFC 5322, do not accept emails with consecutive dots. See #…

This reverts commit b6c5d4d.
Commits on May 16, 2012
Eric Chapweske Allow trailing dots in the local part of addresses to support JP mobi…
…le clients.
Commits on May 24, 2012
@dmathieu dmathieu check mail params for every delivery method
If we don't have a sender of recipient, we don't want to send the email, whatever the delivery method is.
@pplr pplr Add CRLF to keywords, references, resent_message_id and in_reply_to f…
…ields to prevent lines longer than 998 characters. (cf RFC2822 §2.1.1 and §2.2.3).
Commits on Jun 05, 2012
@bpot bpot Fix stack overflow (RegexpError) triggered by large emails with an en…
@bpot bpot Correctly remove entire envelope b731b71
@bpot bpot Add Mail#eager_autoload! to load all autoloaded files on demand 4f95945
@bpot bpot Do not require Net::IMAP or Net::POP if they're already loaded cfe94b7
Commits on Jun 27, 2012
Adam Derewecki Fix type ignorning => ignoring
Updated the spec as well.
Commits on Aug 07, 2012
@okkez okkez Use String#to_crlf instead of String#gsub 01dc95a
@kbackowski kbackowski Removing Gemfile.lock from gemspec files d7dfbe5
Commits on Aug 23, 2012
@dskim dskim Fix a bug in exim delivery method which was introduced by the commit a… 7b5d711
Commits on Aug 30, 2012
@brupm brupm Properly handle arrays. 9bc7616
Commits on Sep 06, 2012
@ochko ochko ignore/replace undefined or invalid characters 0e4db27
Commits on Sep 26, 2012
@mikel Update to publisher info 7d45c07
Commits on Oct 09, 2012
@paav-o paav-o Fixed typo in documentation bd8311d
@arunagw arunagw Merge pull request #438 from paav-o/master
Fixed typo in documentation
Commits on Oct 10, 2012
@ochko ochko replace invalid or undefined chars with empty space e7b0b91
Commits on Oct 18, 2012
@paulwittmann paulwittmann CC fields with semicolon are now parsed right [fixes #228] c9c66aa
Commits on Oct 24, 2012
@ochko ochko Merge branch 'master' of git:// 3f69873
@cczona cczona clarify spec phrasing (typo fix) a57eb79
Commits on Nov 04, 2012
@ledermann ledermann Fixed handling content_type with superfluous spaces cb90c1c
Commits on Nov 05, 2012
@ledermann ledermann Fixed regex fa0183d
Commits on Nov 09, 2012
@arunagw arunagw Merge pull request #353 from amatsuda/nil_blank
define NilClass#blank? only if not defined yet
@arunagw arunagw Updaitng changelog 3613c30
@mikel Merge branch 'fix_reading_mail' of git:// int…
…o mreinsch-fix_reading_mail
@mikel Merge branch 'master' of 8c2469d
@mikel Update CHANGELOG c0cc68c
Commits on Nov 13, 2012
@grosser grosser ignore nil in addresses so things do not blow up when e.g. a user had…
… no email or one of the emails passed was nil
@grosser grosser link to travis b80e94c
@arunagw arunagw Merge pull request #452 from grosser/travis
link to travis
Commits on Nov 16, 2012
@mikel Updating supported rubies and Travis YML 718a9d1
@mikel Fix spec to support 1.8.7 as well 38086a3
@mikel Merge branch 'master' of 8d9b87d
@mikel Issue 453: Failing spec in 1.9.3 fixed bb25038
Commits on Nov 17, 2012
@mikel Fix broken spec for issue 453 and change documentation f8da70c
@mikel Closes pull request 352 - Better support on encoding conversion in un…
…structured fields
@mikel Closes pull request 293 - Make charset and mime more reslient to errors 5804474
@mikel Merge branch 'fix_more_warning_possibly_useless_use_of_==_in_void_con…
…text' of git:// into kennyj-fix_more_warning_possibly_useless_use_of_==_in_void_context
@mikel Updating CHANGELOG 84cd5a4
@mikel Merge branch 'should_return_a_UTF-8_encoded_string' of git://github.c…
…om/kennyj/mail into kennyj-should_return_a_UTF-8_encoded_string

@mikel Update changelog aa55cae
@mikel Merge branch 'master' of git:// into ermaker-m…
@mikel Updating Changelog 2f40170
@mikel De duplicate some spec code f4cb392
@mikel Merge branch 'header-enumerable' of git:// into ge…
@mikel Update changelog be9c91b
@mikel Merge branch 'fix_address_field_value' of git:// …
…into mrkn-fix_address_field_value
@mikel Update CHANGELOG 47c9659
@mikel Merge branch 'encoding_8bit' of git:// into bog…
@mikel Updating CHANGELOG ec90877
@mikel Update travis to now specify patch versions so it works 52c3fb9
@yalab yalab Add mail parse fail example and fix to pass the spec.

@mikel Updating CHANGELOG c1c07a4
@mikel Merge pull request #362 from kingargyle/ruby_18x_enable_tls
Enable TLS support under Ruby 1.8.x.
@mikel Updating CHANGELOG 760f8a2
@mikel Merge branch 'limit_number_of_headers' of git://…
…l into bogdan-limit_number_of_headers
@mikel Updating CHANGELOG 8a5ab13
@mikel Merge branch 'headers_performance' of git:// in…
…to bogdan-headers_performance
@mikel Updating CHANGELOG 1f16d61
@mikel Updating CHANGELOG, add authors - you all rock a977b79
@mikel Merge branch 'prettify_code' of git:// into bog…
@mikel Make sure Ruby 1.8 scoping doesn't cause failure 1de96c2
@mikel Updating CHANGELOG 73669c3
@mikel Merge branch 'charset_cache' of git:// into bog…
@mikel Updating CHANGELOG d02a83c
@mikel Merge branch '379-fix-bad-boundaries' of git://…
…/mail into ConradIrwin-379-fix-bad-boundaries
@mikel Updating CHANGELOG 791179f
@mikel Merge pull request #384 from technoweenie/dat-unicode
Dat unicode
@mikel Updating CHANGELOG 91cd682
@mikel Merge branch 'unicode-apply-mapping-fix' of git://…
…enie/mail into technoweenie-unicode-apply-mapping-fix
@mikel Updating CHANGELOG 7f6e106
@mikel Merge branch 'master' of git:// into dani…
@mikel Updating CHANGELOG 85530ea
@mikel Merge branch 'nil-to' of git:// into grosser-n…
@mikel Updating CHANGELOG 78ea9e1
@mikel Merge branch 'fix-content-type-field-sanitizing' of git://…
…ledermann/mail into ledermann-fix-content-type-field-sanitizing
@mikel Updating CHANGELOG e562488
@mikel Merge branch 'ledermann-fix-content-type-field-sanitizing'
@mikel Merge branch 'eac/jp_address_support' of git:// in…
…to eac-eac/jp_address_support
@mikel Updating CHANGELOG bbe45f0
@mikel Merge branch 'check_mail_params' of git:// in…
…to dmathieu-check_mail_params
@mikel Updating CHANGELOG c7106af
@mikel Merge branch 'master' of git:// into pplr-master c0508be
@mikel Updating CHANGELOG 31bc82c
@mikel Merge branch 'handle_large_emails_with_envelope' of git://…
…otherinbox/mail into otherinbox-handle_large_emails_with_envelope
@mikel Updating CHANGELOG c2b1e33
@mikel Merge branch 'require_net_imap_once' of git://…
…ail into otherinbox-require_net_imap_once
@mikel Updating CHANGELOG 2c929e2
@mikel Merge branch 'master' of git:// into derwiki-m…
@mikel Updating CHANGELOG 2502886
@mikel Merge branch 'master' of git:// into kbacko…
@mikel Updating CHANGELOG 99d10f3
@mikel Merge branch 'master' of git:// into dskim-master
@mikel Updating CHANGELOG f2c6bad
@mikel Merge branch 'okkez/fix-encoding-quoted-printable' of git://…
…m/okkez/mail into okkez-okkez/fix-encoding-quoted-printable
@mikel Updating CHANGELOG d8ae688
@skyeagle skyeagle Allow string as delivery_method
Fixes #457
@mikel Add regression spec for adding an attachment before the content type …
…for issue #459
@mikel Merge branch 'fix-457' of git:// into radar-fix-457 1bbad10
@mikel Updating CHANGELOG f777605
@mikel Merge branch 'eager_autoload' of git:// int…
…o otherinbox-eager_autoload
@mikel Add documentation for ea
@mikel Updating CHANGELOG 1cfba31
@mikel Merge branch 'master' of git:// into brupm-master
@mikel Fix spec 8200fdf
@mikel Updating CHANGELOG 686e695
@mikel Merge branch 'master' of git:// into ochko-master aa24026
@mikel Updating CHANGELOG cc25e65
@mikel Merge branch 'master' of git:// into paul…
@mikel Fix up intermittent spec error 1d2307e
@mikel Making unstructured field accept an array and do a logical thing with…
… it (join with commas)
@mikel Updating CHANGELOG f750433
@mikel Merge pull request #444 from cczona/spec_clarification_cczona
clarify spec phrasing (typo fix)
@mikel Updating CHANGELOG 9acde68
@mikel Version bump to 2.5.0 fb76be1
Commits on Nov 18, 2012
@mikel Updating travis to use JRuby mode 1.8 and 1.9 instead of 1.6.8 and 1.7.0 c10a484
@mikel Updating to have Travis only test JRuby 1.6.8 for now afb838c
@mikel Update rspec to 2.12.0 1d57220
@mikel Adding debug output on rspec load ab2347e
@mikel Add error message if can not parse a field 1cdcb26
@mikel Revert "CC fields with semicolon are now parsed right [fixes #228]"
This reverts commit c9c66aa.

Fails in actual fact, but rake from the command line was not picking this up
@mikel Version bump to 2.5.1 c501ab8
@mikel Reapply "CC fields with semicolon are now parsed right [fixes #228]"
This is what the original commit should have been with an updated
treetop output file.  This was a mistake.

This reverts commit 854f66c.
@mikel Making parsers auto compile on spec suite and load in production code 56c3e46
@mikel Removing double loading of treetop parsers to remove warnings 1650216
@mikel Version bump to 2.5.2 3adb9ce
@mikel Updating CHANGELOG e8eba64
@mikel Fix up spec warnings 27bfb83
@mikel Updating CHANGELOG d42fda6
Commits on Nov 19, 2012
@mikel Remove RSPEC deprecation warning 6fcf8e7
@mikel Remove whitespace cbc0c95
@mikel Remove un-needed require 4c890b5
@mikel Ensure constant defined only once 7f6f153
@mikel Ensure spec helper just required once 80d4244
@mikel Use stub against time instead of DateTime to avoid double redefinitio…
…n error
@mikel Updating CHANGELOG ec96741
Commits on Nov 23, 2012
@tadman tadman Removing STDOUT chatter from main module 8889d09
Commits on Dec 04, 2012
@mikel Merge pull request #468 from twg/master
Requiring module emits "Loading precompiled parsers from ruby source"
@mikel Updating CHANGELOG 470256e
@mikel Version bump to 2.5.3 9c16d9d