Close pull request 468 - Remove debug output to STDOUT (tadman)
Fix up spec warnings
Remove un needed require
Ensure spec_helper constants only defined once
Use stub against time instead of DateTime to avoid double redefinition error
Removing double loading of treetop parsers to remove warnings
Making parsers auto compile on spec suite and load in production code to avoid error that caused yank of 2.5.0
Reapply pull request 443 - CC fields with semicolon are now parsed right (paulwittmann)
Yanked 2.5.0
Reverted pull request 443 - CC fields with semicolon are now parsed right (paulwittmann)
Features:
Close pull request 406 - Add Mail#eager_autoload! to load all autoloaded files on demand (bpot)
Close pull request 461 - Allow string as delivery_method (skyeagle, radar)
Close pull request 407 - Do not require Net::IMAP or Net::POP if they’re already loaded (bpot)
Close pull request 400 - Raise exception if delivery values or from values are missing completely from an email that is getting delivered (dmathieu)
Close pull request 397 - Support dots in local part of the addresses (eac)
Close pull request 477 - Fixed handling content_type with superfluous spaces (ledermann)
Close pull request 451 - Ignore nil in addresses so things do not blow up when e.g. a user had no email (grosser)
Close pull request 362 - Enable TLS in Ruby 1.8 (kingargyle)
Close pull request 358 - Fix Mail::CommonAddress#value=, Mail::CommonAddress#<< and Mail::Encodings.encode_non_usascii (mrkn)
Close pull request 350 - Makes mail Header object ennumerable (ged)
Performance:
Close pull request 369 - Mail::Header#charset is called pretty often during header parser work (bogdan)
Close pull request 368 - Improve existing code by moving some objects to contstant instead of constructing them over and over again. (bogdan)
Close pull request 366 - Headers parsing performance optimization (bogdan)
Close pull request 365 - Add maximum_amount of parsed headers configuration parameter (bogdan)
Bugs:
Close pull request 444 - Fix typo in spec (cczona)
Close pull request 439 - Fix Ruby 1.9 behaviour to match 1.8.7 behaviour on ignoring invalid or undefined characters (ochko)
Close pull request 430 - Unstructured field converts to string before calling encoding on it (brupm mikel)
Close pull request 424 - Use String#to_crlf instead of String#gsub (okkez)
Close pull request 429 - Fix an obvious bug in exim delivery_method (dskim)
Close pull request 425 - Remove Gemfile.lock from generated gem (kbackowski)
Close pull request 414 - Fix typo on “ignoring” (derwiki)
Close pull request 405 - Fix stack overflow (RegexpError) triggered by large emails with an envelope (bpot)
Close pull request 402 - Prevent InReplyTo, Keyword, References or ResentMessageId fields from generating lines longer than 998 chars (pplr)
Close pull request 391 - Fixed failed attachment parsing when file name in headers contains spaces and is not wrapped in quotes (danieltreacy)
Close pull request 385 - Fix Multibyte::Chars#upcase/downcase (technoweenie)
Close pull request 384 - copy dat unicode over from active support (technoweenie)
Close pull request 380 - Split strictly on MIME boundary lines (ConradIrwin)
Close pull request 277 - Fix specific email decoding failure example (yalab)
Close pull request 361 - Support 8bit encoding for ruby 1.9 (bogdan)
Close pull request 346 - Fix two bugs of TestRetriever (ermaker)
Close pull request 337 - Make the behavior of value_decode the same between Ruby 1.8 and Ruby 1.9. (kennyj)
Close pull request 336 - Fix more warning: possibly useless use of == in void context (kennyj)
Close pull request 293 - make charset and mime type more resliant to bad header values (kmeehl)
Fix failing spec Issue 453 on Ruby 1.9.3
Fix mail reading: don’t raise invalid byte sequence in UTF-8 when reading non-UTF-8 emails (mreinsch)
Close pull request 353 - define NilClass#blank? only if not defined yet (amatsuda)
Close pull request 357 - Fixes #349 an inverted condition on imap open read_only (felixroeser)
Remove duplicated line feed from regexp
Remove unused variable
Updated IMAP documentation
Tweak publisher
Fix security vulnerability allowing command line exploit when using file delivery method
Fix security vulnerability allowing command line exploit when using exim or sendmail from the command line
Change Mail#deliver! to also inform the interceptors
Encodings.value_decode(str): Treat lines with mixed encoding correctly when the line ends with a plain text part.
Fix non ascii character folding problems
Handle multipart mail in Mail::Message#to_yaml / #from_yaml
More warning fixes
Normalize the Parse Error class and messages
Fix for Mail::Encodings.unquote_and_convert not handling unquoted characters mixed in between quoted strings
Updated treetop to latest version, specs now run approximately 25-30% faster!
Version bump to 2.4.1 and gem release
Speed up reading of messages by about 12x
Added Message#without_attachments! that removes all message’s attachments
Added shoulda-style RSpec matchers
Added support for @ in display name
Added support for the :tls and :ssl options
Added UTF-16 and UTF-32 support
Added Exim as it’s own delivery manager
Added Ruby 1.9.3 compatibility
Fix for Sendmail return-path escaping
Fix for alias for SJIS was changed from shift_jis to windows-31J in Ruby 1.9.3
Fix for undefined method ‘constantize’ error when no ActiveSupport loaded
Fix Mail::Field#== comparison
Fixed Regexp warning: character class has duplicated range
Fixed encoding non-latin names in addresses
Fixed issue with non-7bit attachment filenames
Now define String#blank? only if not defined yet
Decoding text parts using charset from Content-Type field
Per RFC 5322, do not accept emails with consecutive dots
Bunch of bug fixes from contributed pull requests
Travis CI setup and passing on 6 rubies
Upgrade RSpec to 2.8.0
Lots of warnings fixed
Version bump to 2.4.0 and gem release
Remove ActiveSupport from the dependencies, load Active Support if present, or use internals if not
Created v2.2 branch for all 2.2 related commits
Update activesupport require to use inflector - closes #217
Version bump to 2.3 and gem release
Fixed charset warning issue with multipart messages - github.com/arvindsv
Version bump to 2.2.18 and gem release
Mail::Field.new(“Subject: foobar”, ‘iso-2022-jp’) does not set charset - github.com/yalab
Fixed an exception with nil in Reply-To and References field - github.com/dcormier
Version bump to 2.2.17 and gem release
Added support for open SMTP connections and returning the Mail server’s response - github.com/spiegela
RE: not appended to subject when replying to a reply - github.com/prateekdayal
Support not ascii compatible charset mail send - github.com/yalab
Fix for issue 208 “mail.body after mail.add_file truncates message body” - github.com/glongman
Handle bad subject encoding (or “:invalid => :replace” is ineffective for utf-8 to utf-8 encoding) - github.com/choonkeat
Handle blank Received header field - github.com/bcantin
Handle part with missing content type - github.com/bcantin
Handle a “<>” Return field - github.com/bcantin
Performance improvements for 1.9 - github.com/nobu
Fix heavy CPU issues when messages are missing a space - github.com/scsmith
Tighten up allowed encodings - github.com/scsmith
Added to_yaml & from_yaml (as well as to_hash & from_hash) - github.com/srushti
Fix up some comments - github.com/takahashim
Version bump to 2.2.16 and gem release
Update addresses passed into sendmail to escape them (Andy Lindeman)
Version bump to 2.2.15 and gem release
Update field_spec to handle encodings, closes issues 44 and 120 (Luis Lopez)
Version bump to 2.2.14 and gem release
Use default IANA port on the IMAP retriever_method (Adrian Silva)
Updated README to reflect latest ruby versions we test against (mikel)
Only remove tlsconnect if it exists (mikel)
Added backport fix for net/smtp bug (Aaron Patterson)
Changed “Mail#text_part” so that it does not return a plain text attachment (Anton Mironov)
Added in rescue blocks for badly formatted dates as well as encoding problems (Karl Baum)
Fixed warning errors of duplicated regular expressions (Kouhei Sutou)
Removed duplication from Regex’s containing [wd]+ as w contains d (mikel)
Add authentication selection for imap retriever (Björn Albers)
Removing warning on @name not being initialized (mikel)
Version bump to 2.2.13 and gem release
Fixing problems with multibyte filenamed attachment (amatsuda)
Providing IMAP uid and imap object as options to IMAP calls (dball)
Fixing filename for windows (mikel)
Updating requirement on i18n to be more relaxed for now until we nuke ActiveSupport dependency (Mikel)
Version bump to 2.2.12 and gem release
Allow address lists to handle and ignore empty addresses (Donald Ball)
Allow address lists to handle repeating strings of commas (Donald Ball)
Noting pending test for malformed folding whitespace (Donald Ball)
Adding spec to test error email for missing addresses in to header (Mikel)
Bumping i18n dependency to ~> 0.5.0
Version bump to 2.2.11 and gem release
Added test retriever and updated documentation (Donald Ball)
Fix test suite to work in any timezone (Donald Ball)
Added dependency for tlsmail for Ruby 1.8.6 (Donald Ball)
Added new feature, replies for mail message
Fix references header to use CFWS instead of comma as the separator per RFC2822
Version Bum to 2.2.10 and pushed.
Add find_and_delete convenience method for consistency with POP3, document delete_after_find option (Donald Ball)
Documenting the openssl_verify_mode setting (Donald Ball)
Added ruby-1.8.6 back into the list of tested platforms (Donald Ball)
Relax i18n dependency until we remove active support requirement
Version Bump to 2.2.9.1 to include new i18n dependency
Version Bump to 2.2.9 and tag
Updating Gemfile and gemspec to include i18n and sync dependency versions
Added work from Kendall Gifford closing issues #104, #107 and #117
Always encode mailbox names with UTF-7 (github: fasta)
Added updates from Donald Ball (github: dball) to improve 1.8.6 support
Added patch from Ryan Bigg (github: ryanb) for #mark_for_delete
Version Bump to 2.2.7
Release 2.2.7
Added fix for Windows using ‘rb’ flags, thanks to Luis Lavena and dzhang for pointing it out
Fixed up Rakefile to require bundler to run specs and give more appropriate errors messages if this fails
Merged POP3 delete support work from Michael Prendergast
Merged IMAP support work from Fabian Staubli
Replace some missing documentation
Version bump to 2.2.6.1
Fixed parsing an email with an empty In-Reply-To header (Reported by Eugene Pimenov)
Adding address spec for groupname+domain.com@example.com format emails
Version bump to 2.2.6
Added new way to do versioning for rubygems
Added additional specs for Content-Disposition: inline which are not being encoded correctly - Shawn Pyle
Make sure Mail::Message#attachment? returns true/false - Simone Carletti
Replace hard-coded references to Mail with more generic self references to allow easier inheritance (closes #61) - Simone Carletti
Force encoding on Regexp for Ruby 1.9 to avoid encoding conflicts - Golubev Pavel
Added lazy evaluation to message body: body is not parsed until need. It greatly improves performance with big mails if you don’t need to read the body (yet)
Added Mail.read_from_string as an explicit method (mcansky)
Fixed bounce detection for multipart reports that contain a human readable report status part
Closed Issue #65 found (incredibly) by quetz - major Kudos for bug hunting
Fixed missing trailing CRLF in content type field - Closes issue #57 - Kudos to Henry Flower for finding it
Version bump to 2.2.5.2
Closed issue #58 - Content Type not parsing unless lower case.
Version bump to 2.2.5.1
Added Mail::POP3.delete_all, including specs (Martijn Storck)
Lars Pind updates on header folding
Version bump to 2.2.5
Added inline attachment support to mail (mikel)
Updating versioning so we only have one source, VERSION.yml (mikel)
Changed activesupport dependency to 2.3.6 to fix #53, #64, and def #67. (Artem Titoulenko)
Fixing typo in break_down_to.rb. (mikel)
fixing a typo when generating docs. (Andrew Bloom)
Changing rnt to rns throughout mail (mikel)
Handle multiple quoted words in Encodings.unquote_and_convert_to (Eric Kidd)
Ruby 1.9: mark source encoding so it’s usable with -Ks, -Ke, etc (Jeremy Kemper)
Add #include? to mail body for convenience (Maxim Chernyak)
Use Mail::TestMailer.deliveries in README example (John Trupiano)
Allow bundler to automatically build a gem directly from git (Eric Kidd)
Lots of updates on encoding and decoding of headers and unstructured fields. This is now a lot cleaner and nicer. Also more predictable.
Merged encoding branch back into head
Version bump to 2.2.0
Tagged 2.2.0
Created non-ascii header auto encoding for address fields and unstructured fields
Changed default behaviour of mail, if you specify a charset, it will use that charset regardless of what is in the body. Previously, if the body was all US-ASCII, it would set the charset to US-ASCII in preference.
Many internal version jumps from 2.1.5.3 => 2.1.5.8 - unreleased development versions
Version bump to 2.1.5.3
No longer depend on vendor’d treetop as treetop now has optional loading of parts of the library
Change treetop dependency to 1.4.5
Version bump to 2.1.5.2
Fixed up preserve case in header fields when assigned from a message closes issue #46
Version bump to 2.1.5.1
Fixed net/pop3.rb regression for Ruby 1.8.6
Merged in Jeremy Kemper’s updates:
Bump vendored treetop to 1.4.4
Use Mikel’s treetop for cucumber workaround
Use LOAD_PATH for spec_helper instead of relative requires
Force treetop from git so cucumber doesn’t pull in old version
Version bump to 2.1.5
Changed guess encoding to short circuit to binary if the mime type is unknown, should be safe
Renaming spec to match the file for attachment_lists.rb
Adding Message#decoded returns Message#body#decoded if the message is not multipart