Skip to content

HTTPS clone URL

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.
5dd93b4
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
c7818a9
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…
…dings.encode_non_usascii.

	* 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.
edbe786
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.
9890b19
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
aba2ed7
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.
22e251e
@mikel Merge pull request #374 from gerad/master
typo in comment "ready_only" should be "read_only"
03f73fb
@mikel Merge branch 'master' of https://github.com/robdimarco/mail into robd…
…imarco-master

Conflicts:
	lib/mail/network/retriever_methods/imap.rb
348c170
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.
988f93e
Commits on Apr 13, 2012
@technoweenie technoweenie copy dat unicode over from active support a3e5b7bdf2996893c1d11878a66…
…42f9d51927efa
491e1d7
@technoweenie technoweenie The unicode dat file is a marshal of some ActiveSupport classes. This…
… fixes it.
b9fd65b
@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...
f19ffd4
Commits on May 04, 2012
@danieltreacy danieltreacy Issue #390: Fixed failed parsing of attachment file names that aren't…
… wrapped in quotation marks
afda23e
Commits on May 15, 2012
Eric Chapweske Revert "Per RFC 5322, do not accept emails with consecutive dots. See #…
…279."

This reverts commit b6c5d4d.
4258d3a
Commits on May 16, 2012
Eric Chapweske Allow trailing dots in the local part of addresses to support JP mobi…
…le clients.
fd75c9c
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.
ad92936
@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).
dedea91
Commits on Jun 05, 2012
@bpot bpot Fix stack overflow (RegexpError) triggered by large emails with an en…
…velope
702b306
@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.
fbdcc8a
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
ee83840
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://github.com/mikel/mail 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
a4f1286
@arunagw arunagw Updaitng changelog 3613c30
@mikel Merge branch 'fix_reading_mail' of git://github.com/mreinsch/mail int…
…o mreinsch-fix_reading_mail
7a5e399
@mikel Merge branch 'master' of github.com:mikel/mail 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
ab2c6fd
@grosser grosser link to travis b80e94c
@arunagw arunagw Merge pull request #452 from grosser/travis
link to travis
9d2fe3f
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 github.com:mikel/mail 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
5f0238b
@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://github.com/kennyj/mail into kennyj-fix_more_warning_possibly_useless_use_of_==_in_void_context
ba23685
@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

Conflicts:
	lib/mail/version_specific/ruby_1_8.rb
ecdbe9c
@mikel Update changelog aa55cae
@mikel Merge branch 'master' of git://github.com/ermaker/mail into ermaker-m…
…aster
f18263c
@mikel Updating Changelog 2f40170
@mikel De duplicate some spec code f4cb392
@mikel Merge branch 'header-enumerable' of git://github.com/ged/mail into ge…
…d-header-enumerable
8e3c51d
@mikel Update changelog be9c91b
@mikel Merge branch 'fix_address_field_value' of git://github.com/mrkn/mail …
…into mrkn-fix_address_field_value
e3023d4
@mikel Update CHANGELOG 47c9659
@mikel Merge branch 'encoding_8bit' of git://github.com/bogdan/mail into bog…
…dan-encoding_8bit
cb7bc60
@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.
Conflicts:

	spec/mail/example_emails_spec.rb
17783f8
@mikel Updating CHANGELOG c1c07a4
@mikel Merge pull request #362 from kingargyle/ruby_18x_enable_tls
Enable TLS support under Ruby 1.8.x.
7423fe7
@mikel Updating CHANGELOG 760f8a2
@mikel Merge branch 'limit_number_of_headers' of git://github.com/bogdan/mai…
…l into bogdan-limit_number_of_headers
a733055
@mikel Updating CHANGELOG 8a5ab13
@mikel Merge branch 'headers_performance' of git://github.com/bogdan/mail in…
…to bogdan-headers_performance
0049426
@mikel Updating CHANGELOG 1f16d61
@mikel Updating CHANGELOG, add authors - you all rock a977b79
@mikel Merge branch 'prettify_code' of git://github.com/bogdan/mail into bog…
…dan-prettify_code
2801b46
@mikel Make sure Ruby 1.8 scoping doesn't cause failure 1de96c2
@mikel Updating CHANGELOG 73669c3
@mikel Merge branch 'charset_cache' of git://github.com/bogdan/mail into bog…
…dan-charset_cache
808401c
@mikel Updating CHANGELOG d02a83c
@mikel Merge branch '379-fix-bad-boundaries' of git://github.com/ConradIrwin…
…/mail into ConradIrwin-379-fix-bad-boundaries
d82fdb5
@mikel Updating CHANGELOG 791179f
@mikel Merge pull request #384 from technoweenie/dat-unicode
Dat unicode
5672b61
@mikel Updating CHANGELOG 91cd682
@mikel Merge branch 'unicode-apply-mapping-fix' of git://github.com/technowe…
…enie/mail into technoweenie-unicode-apply-mapping-fix
fbabb86
@mikel Updating CHANGELOG 7f6e106
@mikel Merge branch 'master' of git://github.com/danieltreacy/mail into dani…
…eltreacy-master
452b477
@mikel Updating CHANGELOG 85530ea
@mikel Merge branch 'nil-to' of git://github.com/grosser/mail into grosser-n…
…il-to
f520213
@mikel Updating CHANGELOG 78ea9e1
@mikel Merge branch 'fix-content-type-field-sanitizing' of git://github.com/…
…ledermann/mail into ledermann-fix-content-type-field-sanitizing
93f64dd
@mikel Updating CHANGELOG e562488
@mikel Merge branch 'ledermann-fix-content-type-field-sanitizing'
Conflicts:
	CHANGELOG.rdoc
1d23b4c
@mikel Merge branch 'eac/jp_address_support' of git://github.com/eac/mail in…
…to eac-eac/jp_address_support
6972cad
@mikel Updating CHANGELOG bbe45f0
@mikel Merge branch 'check_mail_params' of git://github.com/dmathieu/mail in…
…to dmathieu-check_mail_params
4df2403
@mikel Updating CHANGELOG c7106af
@mikel Merge branch 'master' of git://github.com/pplr/mail into pplr-master c0508be
@mikel Updating CHANGELOG 31bc82c
@mikel Merge branch 'handle_large_emails_with_envelope' of git://github.com/…
…otherinbox/mail into otherinbox-handle_large_emails_with_envelope
397e6b1
@mikel Updating CHANGELOG c2b1e33
@mikel Merge branch 'require_net_imap_once' of git://github.com/otherinbox/m…
…ail into otherinbox-require_net_imap_once
c892799
@mikel Updating CHANGELOG 2c929e2
@mikel Merge branch 'master' of git://github.com/derwiki/mail into derwiki-m…
…aster
bb4a78a
@mikel Updating CHANGELOG 2502886
@mikel Merge branch 'master' of git://github.com/kbackowski/mail into kbacko…
…wski-master
8ab0ad2
@mikel Updating CHANGELOG 99d10f3
@mikel Merge branch 'master' of git://github.com/dskim/mail into dskim-master
Conflicts:
	lib/mail/network/delivery_methods/exim.rb
becca52
@mikel Updating CHANGELOG f2c6bad
@mikel Merge branch 'okkez/fix-encoding-quoted-printable' of git://github.co…
…m/okkez/mail into okkez-okkez/fix-encoding-quoted-printable
fda35e6
@mikel Updating CHANGELOG d8ae688
@skyeagle skyeagle Allow string as delivery_method
Fixes #457
2b79ba9
@mikel Add regression spec for adding an attachment before the content type …
…for issue #459
d9034a3
@mikel Merge branch 'fix-457' of git://github.com/radar/mail into radar-fix-457 1bbad10
@mikel Updating CHANGELOG f777605
@mikel Merge branch 'eager_autoload' of git://github.com/otherinbox/mail int…
…o otherinbox-eager_autoload
4210a6a
@mikel Add documentation for ea
ger_autoload
bee4894
@mikel Updating CHANGELOG 1cfba31
@mikel Merge branch 'master' of git://github.com/brupm/mail into brupm-master
Conflicts:
	lib/mail/fields/unstructured_field.rb
82280f6
@mikel Fix spec 8200fdf
@mikel Updating CHANGELOG 686e695
@mikel Merge branch 'master' of git://github.com/ochko/mail into ochko-master aa24026
@mikel Updating CHANGELOG cc25e65
@mikel Merge branch 'master' of git://github.com/paulwittmann/mail into paul…
…wittmann-master
2057c2f
@mikel Fix up intermittent spec error 1d2307e
@mikel Making unstructured field accept an array and do a logical thing with…
… it (join with commas)
0b254a8
@mikel Updating CHANGELOG f750433
@mikel Merge pull request #444 from cczona/spec_clarification_cczona
clarify spec phrasing (typo fix)
1359bef
@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
854f66c
@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.
60950a9
@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
32b3b2c
@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"
bac1461
@mikel Updating CHANGELOG 470256e
@mikel Version bump to 2.5.3 9c16d9d