mail-portertech 2.6.2.edge

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.rdoc +753 -0
  3. data/CONTRIBUTING.md +60 -0
  4. data/Dependencies.txt +2 -0
  5. data/Gemfile +15 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +683 -0
  8. data/Rakefile +29 -0
  9. data/TODO.rdoc +9 -0
  10. data/lib/mail.rb +91 -0
  11. data/lib/mail/attachments_list.rb +104 -0
  12. data/lib/mail/body.rb +291 -0
  13. data/lib/mail/check_delivery_params.rb +20 -0
  14. data/lib/mail/configuration.rb +75 -0
  15. data/lib/mail/core_extensions/nil.rb +19 -0
  16. data/lib/mail/core_extensions/object.rb +13 -0
  17. data/lib/mail/core_extensions/smtp.rb +24 -0
  18. data/lib/mail/core_extensions/string.rb +43 -0
  19. data/lib/mail/core_extensions/string/access.rb +145 -0
  20. data/lib/mail/core_extensions/string/multibyte.rb +78 -0
  21. data/lib/mail/elements.rb +14 -0
  22. data/lib/mail/elements/address.rb +270 -0
  23. data/lib/mail/elements/address_list.rb +51 -0
  24. data/lib/mail/elements/content_disposition_element.rb +26 -0
  25. data/lib/mail/elements/content_location_element.rb +21 -0
  26. data/lib/mail/elements/content_transfer_encoding_element.rb +17 -0
  27. data/lib/mail/elements/content_type_element.rb +31 -0
  28. data/lib/mail/elements/date_time_element.rb +22 -0
  29. data/lib/mail/elements/envelope_from_element.rb +39 -0
  30. data/lib/mail/elements/message_ids_element.rb +24 -0
  31. data/lib/mail/elements/mime_version_element.rb +22 -0
  32. data/lib/mail/elements/phrase_list.rb +16 -0
  33. data/lib/mail/elements/received_element.rb +26 -0
  34. data/lib/mail/encodings.rb +304 -0
  35. data/lib/mail/encodings/7bit.rb +31 -0
  36. data/lib/mail/encodings/8bit.rb +31 -0
  37. data/lib/mail/encodings/base64.rb +33 -0
  38. data/lib/mail/encodings/binary.rb +31 -0
  39. data/lib/mail/encodings/quoted_printable.rb +39 -0
  40. data/lib/mail/encodings/transfer_encoding.rb +58 -0
  41. data/lib/mail/envelope.rb +30 -0
  42. data/lib/mail/field.rb +247 -0
  43. data/lib/mail/field_list.rb +33 -0
  44. data/lib/mail/fields.rb +35 -0
  45. data/lib/mail/fields/bcc_field.rb +56 -0
  46. data/lib/mail/fields/cc_field.rb +55 -0
  47. data/lib/mail/fields/comments_field.rb +41 -0
  48. data/lib/mail/fields/common/address_container.rb +16 -0
  49. data/lib/mail/fields/common/common_address.rb +135 -0
  50. data/lib/mail/fields/common/common_date.rb +35 -0
  51. data/lib/mail/fields/common/common_field.rb +57 -0
  52. data/lib/mail/fields/common/common_message_id.rb +48 -0
  53. data/lib/mail/fields/common/parameter_hash.rb +58 -0
  54. data/lib/mail/fields/content_description_field.rb +19 -0
  55. data/lib/mail/fields/content_disposition_field.rb +70 -0
  56. data/lib/mail/fields/content_id_field.rb +62 -0
  57. data/lib/mail/fields/content_location_field.rb +42 -0
  58. data/lib/mail/fields/content_transfer_encoding_field.rb +44 -0
  59. data/lib/mail/fields/content_type_field.rb +201 -0
  60. data/lib/mail/fields/date_field.rb +57 -0
  61. data/lib/mail/fields/from_field.rb +55 -0
  62. data/lib/mail/fields/in_reply_to_field.rb +56 -0
  63. data/lib/mail/fields/keywords_field.rb +44 -0
  64. data/lib/mail/fields/message_id_field.rb +82 -0
  65. data/lib/mail/fields/mime_version_field.rb +53 -0
  66. data/lib/mail/fields/optional_field.rb +13 -0
  67. data/lib/mail/fields/received_field.rb +75 -0
  68. data/lib/mail/fields/references_field.rb +56 -0
  69. data/lib/mail/fields/reply_to_field.rb +55 -0
  70. data/lib/mail/fields/resent_bcc_field.rb +55 -0
  71. data/lib/mail/fields/resent_cc_field.rb +55 -0
  72. data/lib/mail/fields/resent_date_field.rb +35 -0
  73. data/lib/mail/fields/resent_from_field.rb +55 -0
  74. data/lib/mail/fields/resent_message_id_field.rb +34 -0
  75. data/lib/mail/fields/resent_sender_field.rb +62 -0
  76. data/lib/mail/fields/resent_to_field.rb +55 -0
  77. data/lib/mail/fields/return_path_field.rb +65 -0
  78. data/lib/mail/fields/sender_field.rb +67 -0
  79. data/lib/mail/fields/structured_field.rb +51 -0
  80. data/lib/mail/fields/subject_field.rb +16 -0
  81. data/lib/mail/fields/to_field.rb +55 -0
  82. data/lib/mail/fields/unstructured_field.rb +204 -0
  83. data/lib/mail/header.rb +274 -0
  84. data/lib/mail/indifferent_hash.rb +146 -0
  85. data/lib/mail/mail.rb +267 -0
  86. data/lib/mail/matchers/has_sent_mail.rb +157 -0
  87. data/lib/mail/message.rb +2160 -0
  88. data/lib/mail/multibyte.rb +42 -0
  89. data/lib/mail/multibyte/chars.rb +474 -0
  90. data/lib/mail/multibyte/exceptions.rb +8 -0
  91. data/lib/mail/multibyte/unicode.rb +400 -0
  92. data/lib/mail/multibyte/utils.rb +60 -0
  93. data/lib/mail/network.rb +14 -0
  94. data/lib/mail/network/delivery_methods/exim.rb +52 -0
  95. data/lib/mail/network/delivery_methods/file_delivery.rb +45 -0
  96. data/lib/mail/network/delivery_methods/sendmail.rb +89 -0
  97. data/lib/mail/network/delivery_methods/smtp.rb +142 -0
  98. data/lib/mail/network/delivery_methods/smtp_connection.rb +61 -0
  99. data/lib/mail/network/delivery_methods/test_mailer.rb +44 -0
  100. data/lib/mail/network/retriever_methods/base.rb +63 -0
  101. data/lib/mail/network/retriever_methods/imap.rb +173 -0
  102. data/lib/mail/network/retriever_methods/pop3.rb +140 -0
  103. data/lib/mail/network/retriever_methods/test_retriever.rb +43 -0
  104. data/lib/mail/parsers.rb +26 -0
  105. data/lib/mail/parsers/address_lists_parser.rb +132 -0
  106. data/lib/mail/parsers/content_disposition_parser.rb +67 -0
  107. data/lib/mail/parsers/content_location_parser.rb +35 -0
  108. data/lib/mail/parsers/content_transfer_encoding_parser.rb +33 -0
  109. data/lib/mail/parsers/content_type_parser.rb +64 -0
  110. data/lib/mail/parsers/date_time_parser.rb +36 -0
  111. data/lib/mail/parsers/envelope_from_parser.rb +45 -0
  112. data/lib/mail/parsers/message_ids_parser.rb +39 -0
  113. data/lib/mail/parsers/mime_version_parser.rb +41 -0
  114. data/lib/mail/parsers/phrase_lists_parser.rb +33 -0
  115. data/lib/mail/parsers/ragel.rb +17 -0
  116. data/lib/mail/parsers/ragel/common.rl +184 -0
  117. data/lib/mail/parsers/ragel/date_time.rl +30 -0
  118. data/lib/mail/parsers/ragel/parser_info.rb +61 -0
  119. data/lib/mail/parsers/ragel/ruby.rb +39 -0
  120. data/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb +14864 -0
  121. data/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb.rl +37 -0
  122. data/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb +751 -0
  123. data/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb.rl +37 -0
  124. data/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb +614 -0
  125. data/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb.rl +37 -0
  126. data/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb +447 -0
  127. data/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb.rl +37 -0
  128. data/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb +825 -0
  129. data/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb.rl +37 -0
  130. data/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb +817 -0
  131. data/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl +37 -0
  132. data/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb +2129 -0
  133. data/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb.rl +37 -0
  134. data/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb +1570 -0
  135. data/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb.rl +37 -0
  136. data/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb +440 -0
  137. data/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb.rl +37 -0
  138. data/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb +564 -0
  139. data/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb.rl +37 -0
  140. data/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl +51 -0
  141. data/lib/mail/parsers/ragel/ruby/machines/received_machine.rb +5144 -0
  142. data/lib/mail/parsers/ragel/ruby/machines/received_machine.rb.rl +37 -0
  143. data/lib/mail/parsers/ragel/ruby/parser.rb.rl.erb +37 -0
  144. data/lib/mail/parsers/received_parser.rb +47 -0
  145. data/lib/mail/part.rb +120 -0
  146. data/lib/mail/parts_list.rb +57 -0
  147. data/lib/mail/patterns.rb +37 -0
  148. data/lib/mail/utilities.rb +225 -0
  149. data/lib/mail/values/unicode_tables.dat +0 -0
  150. data/lib/mail/version.rb +4 -0
  151. data/lib/mail/version_specific/ruby_1_8.rb +119 -0
  152. data/lib/mail/version_specific/ruby_1_9.rb +159 -0
  153. metadata +276 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e98ee9078f75e4fefe0f69e4fdea801436e0afcb
4
+ data.tar.gz: 2b32fbd559976b1dcec4af28630368a81949a885
5
+ SHA512:
6
+ metadata.gz: 8a1e3c33562001551dfc7e6ed1ec9ccdaecd3de5daafc304e25d09e63fbf73d91c9e0215543084d6f0090b5e3d8a14c3184d15255387bc1a47063f6df73b69c7
7
+ data.tar.gz: 57b2ba96e4db398d8374c4acdff47a2d70659e88753f53f0172eeedd639eab46f02f5d9721061c3688e6fbd07904b98c902768d6685e295bd4fc229db53c9c1a
@@ -0,0 +1,753 @@
1
+ == HEAD
2
+
3
+ Features:
4
+ * Update rspec to 3.0.0 (mootpointer)
5
+
6
+ Performance:
7
+
8
+ Bugs:
9
+
10
+ == Version 2.6.1 - Sun Jun 8 15:34 +1100 2014 Mikel Lindsaar <mikel@reinteractive.net>
11
+
12
+ Features:
13
+ * Silence warnings on loading ragel-generated parsers (bf4)
14
+
15
+ == Version 2.6.0 - Mon Jun 2 22:49 +1100 2014 Mikel Lindsaar <mikel@reinteractive.net>
16
+
17
+ Features:
18
+ * Allow interceptors and observers to be unregistered (zuhao)
19
+ * Added feature to find the mail in uid (taketin)
20
+ * Save settings passed to TestMailer#new (svanderbleek)
21
+ * Allow the setting of envelope from directly (jeremy)
22
+ * Accept other IETF/IANA-registered Content-Types and Content-Transfer-Encodings (jeremy)
23
+ * Alias shift-jis charset to Shift_JIS Ruby encoding (jeremy)
24
+ * Add support for ks_c_5601-1987 charset, aliased to CP949 Ruby encoding (jeremy)
25
+ * Don't allow colons in header names (jeremy)
26
+ * Can assign arrays of Message-IDs to References and In-Reply-To (jeremy)
27
+ * Setting the html_ or text_part sets a default text/html or text/plain content type (jeremy)
28
+ * Setting the html_ or text_part to nil removes it (jeremy)
29
+ * Addresses without a parsable email or display name still format as their raw text (jeremy)
30
+ * Close pull request 504 - Alias GB2312 charset to GB18030 Ruby encoding (bpot)
31
+ * Close pull request 399 - Accept :ca_path and :ca_file options for SMTP delivery (ndbroadbent)
32
+ * Close pull request 389 - Don't add superfluous message headers to MIME parts (djmaze, jeremy)
33
+
34
+ Performance:
35
+ * Migrate to RAGEL based parser, awesome work by (bpot)
36
+ * Performance improvements for people parsing email headers (ConradIrwin)
37
+ * Close pull request 488 - Speed up field construction & comparison (bpot)
38
+
39
+ Bugs:
40
+ * Fix for when content looks like field name (kjg)
41
+ * Don't change original when you change a copy (TylerRick)
42
+ * Don't include separating semicolon in paramter value when sanitizing (bpot)
43
+ * Fix fencepost encoding problem with binhex strings and only one token (drasch)
44
+ * Fix sendmail delivery to addresses with a leading hyphen (lifo, jeremy)
45
+ * Correctly format mbox From headers per RFC4155 (bpot, jeremy)
46
+ * Fix bogus '=' at the end of some quoted-printable messages (jeremy)
47
+ * Shouldn't be fooled into encoding strings on 1.8 by unrelated Encoding constant (emiellohr, jeremy)
48
+ * Header encoding should be US-ASCII, not the default external encoding (jeremy)
49
+ * Address elements should return decoded display names by default (jeremy)
50
+ * Fix up tests that depend on utf-8 external encoding; read fixtures as binary (jeremy)
51
+ * Capture stderr from Sendmail and Exim deliveries (jeremy)
52
+ * RFC2822 quoted_string content may be empty (jeremy)
53
+ * Calling #to_s on a field with a nil value returns an empty string instead of nil (jeremy)
54
+ * The Received header may contain zero name/value pairs, qmail-style (jeremy)
55
+ * Fix that setting an attachment with a :mime_type and :encoding would override the :encoding (jeremy)
56
+ * Fix that declaring an html_part but no text_part would use multipart/alternative anyway (jeremy)
57
+ * Close pull request 508 - Don't add an extra CRLF to MIME parts; split MIME parts on correct CRLF boundaries (Aalanar)
58
+ * Close pull request 506 - Escape backslashes in quoted strings (ConradIrwin)
59
+ * Close pull request 496 - Correctly handle quoted-printable line breaks (jeremy)
60
+ * Close pull request 493 - Repair misencoded quoted-printable line breaks (jeremy)
61
+ * Close pull request 487 - Extract comments from group email addresses (bpot)
62
+ * Close pull request 481 - Correctly quote filename attributes (bpot)
63
+ * Close pull request 480 - Support mixed encodings in a single header body (adamvaughan)
64
+ * Close pull request 471 - Fix Ruby 1.8 build when UTF16/32 default to little-endian (kennyj)
65
+
66
+ Coping with third-party bugs:
67
+ * Parse multipart boundary from Content-Type headers containing extra semicolons (jeremy)
68
+ * Close pull request 389 - Only add Content-ID to inline attachments to appease Outlook (djmaze, jeremy)
69
+
70
+ Housekeeping:
71
+ * Add development gem dependency on rdoc (jeremy)
72
+ * Refresh Bundler dependencies & setup (jeremy)
73
+ * Remove i18n dependency and last vestiges of activesupport dependency in specs (jeremy)
74
+ * Clarify that Sender is a single address, not an address list (jeremy)
75
+ * Add an MIT-LICENSE file to make licensing clear & obvious; update to 2013 (jeremy)
76
+ * Close pull request 501 - Tighten up header/body whitespace splitting (ConradIrwin)
77
+ * Close pull request 499 - Clean up some dead code (ConradIrwin)
78
+ * Close pull request 489, 495 - Docs typos (JackDanger, francois)
79
+ * Close pull request 485 - Be explicit about unsupported address parsing (bpot)
80
+ * Close pull request 484 - Remove #tree specs in preparation for deprecation removal (bpot)
81
+ * Close pull request 482 - Update address field specs to reflect to #initialize API (bpot)
82
+ * Close pull request 475 - Shush warning on Object#blank? redefinition (amatsuda)
83
+ * Close pull request 472 - Clean up UTF8/UTF-8 internals (kennyj)
84
+
85
+ == Version 2.5.3 - Sun Dec 4 15:52:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net>
86
+
87
+ * Close pull request 468 - Remove debug output to STDOUT (tadman)
88
+ * Fix up spec warnings
89
+ * Remove un needed require
90
+ * Ensure spec_helper constants only defined once
91
+ * Use stub against time instead of DateTime to avoid double redefinition error
92
+
93
+ == Version 2.5.2 - Sun Nov 18 15:01:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net>
94
+
95
+ * Removing double loading of treetop parsers to remove warnings
96
+ * Making parsers auto compile on spec suite and load in production code to avoid error that caused yank of 2.5.0
97
+ * Reapply pull request 443 - CC fields with semicolon are now parsed right (paulwittmann)
98
+
99
+ == Version 2.5.1 - Sun Nov 18 14:01:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net>
100
+
101
+ * Yanked 2.5.0
102
+ * Reverted pull request 443 - CC fields with semicolon are now parsed right (paulwittmann)
103
+
104
+ == Version 2.5.0 - Sun Nov 18 12:20:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net>
105
+
106
+ Features:
107
+ * Close pull request 406 - Add Mail#eager_autoload! to load all autoloaded files on demand (bpot)
108
+ * Close pull request 461 - Allow string as delivery_method (skyeagle, radar)
109
+ * Close pull request 407 - Do not require Net::IMAP or Net::POP if they're already loaded (bpot)
110
+ * Close pull request 400 - Raise exception if delivery values or from values are missing completely from an email that is getting delivered (dmathieu)
111
+ * Close pull request 397 - Support dots in local part of the addresses (eac)
112
+ * Close pull request 477 - Fixed handling content_type with superfluous spaces (ledermann)
113
+ * Close pull request 451 - Ignore nil in addresses so things do not blow up when e.g. a user had no email (grosser)
114
+ * Close pull request 362 - Enable TLS in Ruby 1.8 (kingargyle)
115
+ * Close pull request 358 - Fix Mail::CommonAddress#value=, Mail::CommonAddress#<< and Mail::Encodings.encode_non_usascii (mrkn)
116
+ * Close pull request 350 - Makes mail Header object ennumerable (ged)
117
+
118
+ Performance:
119
+ * Close pull request 369 - Mail::Header#charset is called pretty often during header parser work (bogdan)
120
+ * Close pull request 368 - Improve existing code by moving some objects to contstant instead of constructing them over and over again. (bogdan)
121
+ * Close pull request 366 - Headers parsing performance optimization (bogdan)
122
+ * Close pull request 365 - Add maximum_amount of parsed headers configuration parameter (bogdan)
123
+
124
+ Bugs:
125
+ * Close pull request 444 - Fix typo in spec (cczona)
126
+ * Close pull request 439 - Fix Ruby 1.9 behaviour to match 1.8.7 behaviour on ignoring invalid or undefined characters (ochko)
127
+ * Close pull request 430 - Unstructured field converts to string before calling encoding on it (brupm mikel)
128
+ * Close pull request 424 - Use String#to_crlf instead of String#gsub (okkez)
129
+ * Close pull request 429 - Fix an obvious bug in exim delivery_method (dskim)
130
+ * Close pull request 425 - Remove Gemfile.lock from generated gem (kbackowski)
131
+ * Close pull request 414 - Fix typo on "ignoring" (derwiki)
132
+ * Close pull request 405 - Fix stack overflow (RegexpError) triggered by large emails with an envelope (bpot)
133
+ * Close pull request 402 - Prevent InReplyTo, Keyword, References or ResentMessageId fields from generating lines longer than 998 chars (pplr)
134
+ * Close pull request 391 - Fixed failed attachment parsing when file name in headers contains spaces and is not wrapped in quotes (danieltreacy)
135
+ * Close pull request 385 - Fix Multibyte::Chars#upcase/downcase (technoweenie)
136
+ * Close pull request 384 - copy dat unicode over from active support (technoweenie)
137
+ * Close pull request 380 - Split strictly on MIME boundary lines (ConradIrwin)
138
+ * Close pull request 277 - Fix specific email decoding failure example (yalab)
139
+ * Close pull request 361 - Support 8bit encoding for ruby 1.9 (bogdan)
140
+ * Close pull request 346 - Fix two bugs of TestRetriever (ermaker)
141
+ * Close pull request 337 - Make the behavior of value_decode the same between Ruby 1.8 and Ruby 1.9. (kennyj)
142
+ * Close pull request 336 - Fix more warning: possibly useless use of == in void context (kennyj)
143
+ * Close pull request 293 - make charset and mime type more resliant to bad header values (kmeehl)
144
+ * Fix failing spec Issue 453 on Ruby 1.9.3
145
+ * Fix mail reading: don't raise invalid byte sequence in UTF-8 when reading non-UTF-8 emails (mreinsch)
146
+ * Close pull request 353 - define NilClass#blank? only if not defined yet (amatsuda)
147
+ * Close pull request 357 - Fixes #349 an inverted condition on imap open read_only (felixroeser)
148
+ * Remove duplicated line feed from regexp
149
+ * Remove unused variable
150
+ * Updated IMAP documentation
151
+ * Tweak publisher
152
+
153
+ == Version 2.4.4 - Wed Mar 14 22:44:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net>
154
+
155
+ * Fix security vulnerability allowing command line exploit when using file delivery method
156
+
157
+ == Version 2.4.3 - Tue Mar 6 19:38:00 UTC 2012 Mikel Lindsaar <mikel@reinteractive.net>
158
+
159
+ * Fix security vulnerability allowing command line exploit when using exim or sendmail from the command line
160
+ * Change Mail#deliver! to also inform the interceptors
161
+ * Encodings.value_decode(str): Treat lines with mixed encoding correctly when the line ends with a plain text part.
162
+
163
+ == Version 2.4.1 - Thu Jan 19 13:49:34 UTC 2012 Mikel Lindsaar <mikel@reinteractive.net>
164
+
165
+ * Fix non ascii character folding problems
166
+ * Handle multipart mail in Mail::Message#to_yaml / #from_yaml
167
+ * More warning fixes
168
+ * Normalize the Parse Error class and messages
169
+ * Fix for Mail::Encodings.unquote_and_convert not handling unquoted characters mixed in between quoted strings
170
+ * Updated treetop to latest version, specs now run approximately 25-30% faster!
171
+ * Version bump to 2.4.1 and gem release
172
+
173
+ == Version 2.4.0 - Sun Jan 15 18:15:56 UTC 2011 Mikel Lindsaar <mikel@reinteractive.net>
174
+
175
+ * Speed up reading of messages by about 12x
176
+ * Added Message#without_attachments! that removes all message's attachments
177
+ * Added shoulda-style RSpec matchers
178
+ * Added support for @ in display name
179
+ * Added support for the :tls and :ssl options
180
+ * Added UTF-16 and UTF-32 support
181
+ * Added Exim as it's own delivery manager
182
+ * Added Ruby 1.9.3 compatibility
183
+ * Fix for Sendmail return-path escaping
184
+ * Fix for alias for SJIS was changed from shift_jis to windows-31J in Ruby 1.9.3
185
+ * Fix for undefined method 'constantize' error when no ActiveSupport loaded
186
+ * Fix Mail::Field#== comparison
187
+ * Fixed Regexp warning: character class has duplicated range
188
+ * Fixed encoding non-latin names in addresses
189
+ * Fixed issue with non-7bit attachment filenames
190
+ * Now define String#blank? only if not defined yet
191
+ * Decoding text parts using charset from Content-Type field
192
+ * Per RFC 5322, do not accept emails with consecutive dots
193
+ * Bunch of bug fixes from contributed pull requests
194
+ * Travis CI setup and passing on 6 rubies
195
+ * Upgrade RSpec to 2.8.0
196
+ * Lots of warnings fixed
197
+ * Version bump to 2.4.0 and gem release
198
+
199
+ == Version 2.3.0 - Tue Apr 26 09:59:56 UTC 2011 Mikel Lindsaar <mikel@rubyx.com>
200
+
201
+ * Remove ActiveSupport from the dependencies, load Active Support if present, or use internals if not
202
+ * Created v2.2 branch for all 2.2 related commits
203
+ * Update activesupport require to use inflector - closes #217
204
+ * Version bump to 2.3 and gem release
205
+
206
+ == Tue Apr 26 06:18:19 UTC 2011 Mikel Lindsaar <mikel@rubyx.com>
207
+
208
+ * Fixed charset warning issue with multipart messages - https://github.com/arvindsv
209
+ * Version bump to 2.2.18 and gem release
210
+
211
+ == Wed 20 Apr 2011 15:16:20 UTC Mikel Lindsaar <mikel@rubyx.com>
212
+
213
+ * Mail::Field.new("Subject: foobar", 'iso-2022-jp') does not set charset - https://github.com/yalab
214
+
215
+ == Tue Apr 19 00:20:54 UTC 2011 Mikel Lindsaar <mikel@rubyx.com>
216
+
217
+ * Fixed an exception with nil in Reply-To and References field - https://github.com/dcormier
218
+ * Version bump to 2.2.17 and gem release
219
+
220
+ == Sat Apr 16 12:57:27 UTC 2011 Mikel Lindsaar <mikel@rubyx.com>
221
+
222
+ * Added support for open SMTP connections and returning the Mail server's response - https://github.com/spiegela
223
+ * RE: not appended to subject when replying to a reply - https://github.com/prateekdayal
224
+ * Support not ascii compatible charset mail send - https://github.com/yalab
225
+ * Fix for issue 208 "mail.body after mail.add_file truncates message body" - https://github.com/glongman
226
+ * Handle bad subject encoding (or ":invalid => :replace" is ineffective for utf-8 to utf-8 encoding) - https://github.com/choonkeat
227
+ * Handle blank Received header field - https://github.com/bcantin
228
+ * Handle part with missing content type - https://github.com/bcantin
229
+ * Handle a "<>" Return field - https://github.com/bcantin
230
+ * Performance improvements for 1.9 - https://github.com/nobu
231
+ * Fix heavy CPU issues when messages are missing a space - https://github.com/scsmith
232
+ * Tighten up allowed encodings - https://github.com/scsmith
233
+ * Added to_yaml & from_yaml (as well as to_hash & from_hash) - https://github.com/srushti
234
+ * Fix up some comments - https://github.com/takahashim
235
+ * Version bump to 2.2.16 and gem release
236
+
237
+ == Wed 26 Jan 2011 02:23:09 UTC Mikel Lindsaar <mikel@rubyx.com>
238
+
239
+ * Update addresses passed into sendmail to escape them (Andy Lindeman)
240
+ * Version bump to 2.2.15 and gem release
241
+
242
+ == Mon 3 Jan 2011 12:48:59 UTC Mikel Lindsaar <mikel@rubyx.com>
243
+
244
+ * Update field_spec to handle encodings, closes issues 44 and 120 (Luis Lopez)
245
+ * Version bump to 2.2.14 and gem release
246
+
247
+ == Mon 3 Jan 2011 00:09:27 UTC Mikel Lindsaar <mikel@rubyx.com>
248
+
249
+ * Use default IANA port on the IMAP retriever_method (Adrian Silva)
250
+ * Updated README to reflect latest ruby versions we test against (mikel)
251
+ * Only remove tlsconnect if it exists (mikel)
252
+
253
+ == Thu 23 Dec 2010 09:15:58 UTC Mikel Lindsaar <mikel@rubyx.com>
254
+
255
+ * Added backport fix for net/smtp bug (Aaron Patterson)
256
+ * Changed "Mail#text_part" so that it does not return a plain text attachment (Anton Mironov)
257
+ * Added in rescue blocks for badly formatted dates as well as encoding problems (Karl Baum)
258
+ * Fixed warning errors of duplicated regular expressions (Kouhei Sutou)
259
+ * Removed duplication from Regex's containing [\w\d]+ as \w contains \d (mikel)
260
+ * Add authentication selection for imap retriever (Björn Albers)
261
+ * Removing warning on @name not being initialized (mikel)
262
+ * Version bump to 2.2.13 and gem release
263
+
264
+ == Fri 10 Dec 2010 09:06:49 UTC Mikel Lindsaar <mikel@rubyx.com>
265
+
266
+ * Fixing problems with multibyte filenamed attachment (amatsuda)
267
+ * Providing IMAP uid and imap object as options to IMAP calls (dball)
268
+ * Fixing filename for windows (mikel)
269
+
270
+ == Sun Dec 5 02:24:55 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
271
+
272
+ * Updating requirement on i18n to be more relaxed for now until we nuke ActiveSupport dependency (Mikel)
273
+ * Version bump to 2.2.12 and gem release
274
+
275
+ == Tue 30 Nov 2010 00:36:11 UTC Mikel Lindsaar <mikel@rubyx.com>
276
+
277
+ * Allow address lists to handle and ignore empty addresses (Donald Ball)
278
+ * Allow address lists to handle repeating strings of commas (Donald Ball)
279
+ * Noting pending test for malformed folding whitespace (Donald Ball)
280
+ * Adding spec to test error email for missing addresses in to header (Mikel)
281
+ * Bumping i18n dependency to ~> 0.5.0
282
+ * Version bump to 2.2.11 and gem release
283
+
284
+ == Wed 17 Nov 2010 00:43:31 UTC Mikel Lindsaar <mikel@rubyx.com>
285
+
286
+ * Added test retriever and updated documentation (Donald Ball)
287
+ * Fix test suite to work in any timezone (Donald Ball)
288
+ * Added dependency for tlsmail for Ruby 1.8.6 (Donald Ball)
289
+ * Added new feature, replies for mail message
290
+ * Fix references header to use CFWS instead of comma as the separator per RFC2822
291
+ * Version Bum to 2.2.10 and pushed.
292
+
293
+ == Mon Nov 15 13:04:41 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
294
+
295
+ * Add find_and_delete convenience method for consistency with POP3, document delete_after_find option (Donald Ball)
296
+ * Documenting the openssl_verify_mode setting (Donald Ball)
297
+ * Added ruby-1.8.6 back into the list of tested platforms (Donald Ball)
298
+ * Relax i18n dependency until we remove active support requirement
299
+ * Version Bump to 2.2.9.1 to include new i18n dependency
300
+
301
+ == Tue Oct 26 07:14:36 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
302
+
303
+ * Version Bump to 2.2.9 and tag
304
+ * Updating Gemfile and gemspec to include i18n and sync dependency versions
305
+ * Added work from Kendall Gifford closing issues #104, #107 and #117
306
+ * Always encode mailbox names with UTF-7 (github: fasta)
307
+
308
+ == Tue Oct 26 06:43:17 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
309
+
310
+ * Added updates from Donald Ball (github: dball) to improve 1.8.6 support
311
+ * Added patch from Ryan Bigg (github: ryanb) for #mark_for_delete
312
+
313
+ == Thu Oct 7 15:44:31 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
314
+
315
+ * Version Bump to 2.2.7
316
+ * Release 2.2.7
317
+
318
+ == Thu Oct 7 15:42:57 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
319
+
320
+ * Added fix for Windows using 'rb' flags, thanks to Luis Lavena and dzhang for pointing it out
321
+ * Fixed up Rakefile to require bundler to run specs and give more appropriate errors messages if this fails
322
+
323
+ == Tue Sep 28 14:59:03 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
324
+
325
+ * Merged POP3 delete support work from Michael Prendergast
326
+ * Merged IMAP support work from Fabian Staubli
327
+
328
+ == Mon Sep 13 02:31:21 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
329
+
330
+ * Replace some missing documentation
331
+ * Version bump to 2.2.6.1
332
+
333
+ == Sat 11 Sep 2010 05:13:36 UTC Mikel Lindsaar <mikel@rubyx.com>
334
+
335
+ * Fixed parsing an email with an empty In-Reply-To header (Reported by Eugene Pimenov)
336
+ * Adding address spec for groupname+domain.com@example.com format emails
337
+ * Version bump to 2.2.6
338
+
339
+ == Sat Sep 11 01:56:59 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
340
+
341
+ * Added new way to do versioning for rubygems
342
+ * Added additional specs for Content-Disposition: inline which are not being encoded correctly - Shawn Pyle
343
+ * Make sure Mail::Message#attachment? returns true/false - Simone Carletti
344
+ * Replace hard-coded references to Mail with more generic self references to allow easier inheritance (closes #61) - Simone Carletti
345
+ * Force encoding on Regexp for Ruby 1.9 to avoid encoding conflicts - Golubev Pavel
346
+ * 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)
347
+ * Added Mail.read_from_string as an explicit method (mcansky)
348
+ * Fixed bounce detection for multipart reports that contain a human readable report status part
349
+ * Closed Issue #65 found (incredibly) by quetz - major Kudos for bug hunting
350
+ * Fixed missing trailing CRLF in content type field - Closes issue #57 - Kudos to Henry Flower for finding it
351
+ * Version bump to 2.2.5.2
352
+
353
+ == Sat Sep 11 01:32:13 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
354
+
355
+ * Closed issue #58 - Content Type not parsing unless lower case.
356
+ * Version bump to 2.2.5.1
357
+
358
+ == Thu 17 Jun 2010 22:13:18 UTC Mikel Lindsaar <mikel@rubyx.com>
359
+
360
+ * Added Mail::POP3.delete_all, including specs (Martijn Storck)
361
+ * Lars Pind updates on header folding
362
+ * Version bump to 2.2.5
363
+
364
+ == Tue Jun 8 01:55:21 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
365
+
366
+ * Added inline attachment support to mail (mikel)
367
+
368
+ == Mon Jun 7 18:00:39 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
369
+
370
+ * Updating versioning so we only have one source, VERSION.yml (mikel)
371
+ * Changed activesupport dependency to 2.3.6 to fix #53, #64, and def #67. (Artem Titoulenko)
372
+ * Fixing typo in break_down_to.rb. (mikel)
373
+
374
+ == Mon Jun 7 18:07:16 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
375
+
376
+ * fixing a typo when generating docs. (Andrew Bloom)
377
+ * Changing \r\n\t to \r\n\s throughout mail (mikel)
378
+ * Handle multiple quoted words in Encodings.unquote_and_convert_to (Eric Kidd)
379
+ * Ruby 1.9: mark source encoding so it's usable with -Ks, -Ke, etc (Jeremy Kemper)
380
+ * Add #include? to mail body for convenience (Maxim Chernyak)
381
+ * Use Mail::TestMailer.deliveries in README example (John Trupiano)
382
+ * Allow bundler to automatically build a gem directly from git (Eric Kidd)
383
+
384
+ == Sun Apr 11 07:49:15 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
385
+
386
+ * Lots of updates on encoding and decoding of headers and unstructured fields. This
387
+ is now a lot cleaner and nicer. Also more predictable.
388
+ * Merged encoding branch back into head
389
+ * Version bump to 2.2.0
390
+ * Tagged 2.2.0
391
+
392
+ == Sun Apr 4 06:41:46 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
393
+
394
+ * Created non-ascii header auto encoding for address fields and unstructured fields
395
+ * Changed default behaviour of mail, if you specify a charset, it will use that charset
396
+ regardless of what is in the body. Previously, if the body was all US-ASCII, it would
397
+ set the charset to US-ASCII in preference.
398
+ * Many internal version jumps from 2.1.5.3 => 2.1.5.8 - unreleased development versions
399
+
400
+ == Mon 29 Mar 2010 07:04:34 UTC Mikel Lindsaar <raasdnil@gmail.com>
401
+
402
+ * Version bump to 2.1.5.3
403
+ * No longer depend on vendor'd treetop as treetop now has optional loading of parts of the library
404
+ * Change treetop dependency to 1.4.5
405
+
406
+ == Sun 28 Mar 2010 10:31:33 UTC Mikel Lindsaar <raasdnil@gmail.com>
407
+
408
+ * Version bump to 2.1.5.2
409
+ * Fixed up preserve case in header fields when assigned from a message closes issue #46
410
+
411
+ == Sun 28 Mar 2010 09:02:20 UTC Mikel Lindsaar <raasdnil@gmail.com>
412
+
413
+ * Version bump to 2.1.5.1
414
+ * Fixed net/pop3.rb regression for Ruby 1.8.6
415
+ * Merged in Jeremy Kemper's updates:
416
+ * Bump vendored treetop to 1.4.4
417
+ * Use Mikel's treetop for cucumber workaround
418
+ * Use LOAD_PATH for spec_helper instead of relative requires
419
+ * Force treetop from git so cucumber doesn't pull in old version
420
+
421
+ == Sun Mar 28 07:01:07 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
422
+
423
+ * Version bump to 2.1.5
424
+ * Changed guess encoding to short circuit to binary if the mime type is unknown, should be safe
425
+ * Renaming spec to match the file for attachment_lists.rb
426
+ * Adding Message#decoded returns Message#body#decoded if the message is not multipart
427
+
428
+ == Sun Mar 28 02:55:42 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
429
+
430
+ * Version bump to 2.1.4
431
+
432
+ == Sun Mar 28 00:26:27 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
433
+
434
+ * Merged in Jeremy/treetop to vendored treetop
435
+ * Merged in nathansobo/treetop to vendored treetop
436
+ * Merged in pzbowen/mail into mail - Adds body auto encoding - awesome work
437
+ * Fixed content-transfer-encoding parser to be more compliant per RFC, also now handles trailing semi-colons correctly
438
+ * Fixed content-transfer-encoding parser to handle weird "from the wild" misspellings
439
+ * Added message.errors, header.errors arrays, returns array of [field_name, value, error_object] for each field that failed to parse
440
+ * Removed bundler require from Rakefile
441
+
442
+ == Sun Mar 17 03:03:03 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
443
+
444
+ * Keep header name case when failing to unstructured field
445
+
446
+ == Wed Feb 24 09:14:56 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
447
+
448
+ * Fixed multiaddress bounce messages crashing when calling .bounced? Now just take the first report and return that.
449
+ * Closes issue 38 - final_recipient method give problem when one bounce email for multiple email ids
450
+ * Fixing up TODO and Docs
451
+
452
+ == Sun Mar 22 03:24:15 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
453
+
454
+ * Version bump to 2.1.3
455
+
456
+ == Thu Jan 28 00:25:02 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
457
+
458
+ * Added TMM1's patch to not raise errors if a email is not multipart/report
459
+ * Added html_part and text_part now return the first text/html or text/plain part they find. Order is from top to bottom of the email, all parts, flattened.
460
+ * Cleaning up register_interceptor and register_observer including documentation
461
+ * Renamed #register_for_delivery_notification to #register_observer
462
+ * Renamed #register_for_delivery_interception to #register_interceptor
463
+ * Adding spec to check for folding of non ASCII words that have been encoded
464
+ * Updating Message#inspect to be a bit more friendly... it is for us mere mortals after all
465
+ * Version bump to 2.1.2
466
+
467
+ == Sun Jan 28 02:59:34 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
468
+
469
+ * Removed old method of setting delivery_method
470
+
471
+ == Mon Jan 25 11:36:13 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
472
+
473
+ * Added ability for address fields to init on an array instead of just a string.
474
+ * Version bump to 2.1.1
475
+
476
+ == Mon Jan 25 10:36:33 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
477
+
478
+ * Now passes a block to the delivery handler, which can just call yield if it want's Mail to just do it's normal delivery method
479
+ * Moved Mail.deliveries into Mail::TestMailer.deliveries. Now only gets mail appended to it if you are sending with the :test delivery_method (only for testing)
480
+ * Version bump to 2.1.0
481
+
482
+ == Mon Jan 25 01:44:13 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
483
+
484
+ * Change :deliver! to deliver a mail object, bypassing the :perform_deliveries and :raise_delivery_errors flags, also does not append the mail object to Mail.deliveries, thus the ! (dangerous). The intended use for :deliver! is for people wanting to have their own delivery_handler (like ActionMailer uses) to track and handle delivery failures.
485
+ * Added :delivery_handler to Message. Allows you to pass an object that will be sent :deliver_mail(self) by the Mail::Message instance when it is sent :deliver and bypasses the usual delivery method.
486
+ * Changed :perform_deliveries flag to be more consistent with it's name, mail will not append itself to the Mail.deliveries collection if :perform_deliveries is false
487
+
488
+ == Sat Jan 23 23:49:50 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
489
+
490
+ * Version bump to 2.0.5
491
+ * Added :raise_delivery_errors to Mail::Message, if set to false will silently rescue all errors raised by the delivery methods, set to true by default
492
+
493
+ == Sat Jan 23 23:28:42 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
494
+
495
+ * Version bump to 2.0.4
496
+ * Added :perform_deliveries to mail, will not actually call deliver on the delivery method if this is set to false, set to true by default.
497
+ * Added @delivery_notification_observers to mail messages, you can register an observer with mail by calling mail.register_for_delivery_notification(observer) and then when mail is told to :deliver it will call your observer with observer.delivered_email(self). It will call your observer if it actually performed the delivery or not (that is, irregardless of the :perform_deliveries flag)
498
+ * Added ability to overwrite the Mail.deliveries store with an object of your choice instead of just an array, this is a good way to find out if something actually got delivered as if :perform_deliveries is false, this collection will not get the mail message appended
499
+
500
+ == Sat Jan 23 05:32:53 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
501
+
502
+ * Version bump to 2.0.3
503
+ * Made body.sort_parts! recursive, to do the entire body
504
+ * Added ability to use << on the results returned by the various address fields, ie, mail.to << 'new@address' now works
505
+ * Message now adds multipart/mixed as the content type if nothing is set and there are parts to the message
506
+ * Added #display_names and #addrs to all address fields. #addrs returns the actual Mail::Address object for each address in the field.
507
+ * Body should call to_s on given input... incase someone gave it an IO.readlines result (Array)
508
+ *
509
+
510
+ == Thu Jan 21 05:27:17 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
511
+
512
+ * Version bump to 2.0.2
513
+ * Major change to attachments, add_file now only accepts
514
+ {:filename => 'full/path/to/file.png'} or
515
+ {:filename => 'file.png', :content => 'string of file content'}
516
+ you can also now do mail.attachments['filename.png'] = File.read('path/to/file.png')
517
+ which is nice too!
518
+
519
+ == Fri Jan 15 09:20:51 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
520
+
521
+ * Rewrote all network classes to not use singletons. Means different Mail::Message objects can have different delivery methods.
522
+ * Added examples for how to send via GMail, MobileMe, Sendmail, File etc.
523
+ * Version bump to 2.0.0 as Network API changed drastically, now not a singleton class.
524
+ * Fixed that return-path should only return one address
525
+
526
+ == Thu Jan 14 10:41:22 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
527
+
528
+ * Version update to 1.6.0 - API change on mail.address_fields to always return arrays
529
+ * Updated all message.address_field methods to always return arrays, so mail.from #=> ['one@address.com'] now, is least surprise
530
+ * Updated handling of empty group lists so it didn't crash
531
+
532
+ == Thu Jan 12 10:41:47 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
533
+
534
+ * Version 1.5.3, handling invalid input on fields. Highly recommended update
535
+ * Updated fields to always try parsing the given data (unless blank). This allows mail to catch invalid input and return UnstructuredFields. Makes mail a lot more resistant to invalid input.
536
+
537
+ == Fri 8 Jan 2010 00:00:08 UTC Mikel Lindsaar <raasdnil@gmail.com>
538
+
539
+ * Version bump to 1.5.2
540
+
541
+ == Fri 8 Jan 8:55:49 2010 +1100 Mikel Lindsaar <raasdnil@gmail.com>
542
+
543
+ * Updated Sendmail and SMTP delivery methods to use return-path if present
544
+ * Fix up a lot of content-type parsing problems
545
+ * Updating compat listing
546
+ * Moving error emails into one directory
547
+ * Moving error emails into one directory
548
+ * Initializing @tls variable to remove warnings
549
+ * Moved default corpus directory
550
+ * Fixed up git ignore file
551
+
552
+ == Thu 6 Jan 2010 23:59:29 UTC Mikel Lindsaar <raasdnil@gmail.com>
553
+
554
+ * Added compatibility list to Readme.rdoc
555
+ * Fixing encoding of return path to be per RFC 2822, adding angle brackets around the addr_spec
556
+ * Specs covering return path setting and preserving
557
+
558
+ == Thu 5 Jan 2010 23:59:48 UTC Mikel Lindsaar <raasdnil@gmail.com>
559
+
560
+ * Moving the require for tlsmail for Ruby 1.8.6 into mail.rb
561
+
562
+ == Sun Jan 3 00:08:06 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
563
+
564
+ * Version bump to 1.5.0
565
+
566
+ * Major API change in Message#field_name. This WILL break your applications that use Mail. Message#field_name now returns good, intelligent, default values. You can still access the field object by calling Message#[:field_name] or Message#['field_name'].
567
+
568
+ == Sat Jan 2 04:12:53 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
569
+
570
+ * Message-ID, Content-ID, References et al, now return the default value of the message ID without the angle brackets, as per RFC 2822, "Semantically, the angle bracket characters are not part of the msg-id; the msg-id is what is contained between the two angle bracket characters."
571
+
572
+ * Message class now has getter and setter methods for all the supported field types explicitly. This allows us to return a "default" value for all fields.
573
+
574
+ * All address fields, when called from Message#to or Message#from or the like, return either a string of the address spec (mikel@test.lindsaar.net) if it is a single entry, or an array of address specs if there is more than one ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net']
575
+
576
+ == Mon 28 Dec 2009 01:21:52 UTC Mikel Lindsaar <raasdnil@gmail.com>
577
+
578
+ * Added sorting of parts, default is text/plain, then text/enriched and text/html. Access through Body#set_sort_order and Body#sort_parts! (called from Body#encode automatically)
579
+ * Version bump to 1.4.2
580
+
581
+ == Sun Dec 27 10:38:24 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
582
+
583
+ * Updating treetop and mail to initialize uninitialized instance variables to
584
+ nil
585
+ * Version bump to 1.4.1
586
+
587
+ == Sun Dec 27 09:51:27 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
588
+
589
+ * Version bump to 1.4 because now :to_s calls :decoded for all fields and body
590
+ while :to_s calls :encoded for Message and Header containers. Makes sense...
591
+ really.
592
+
593
+ == Sun Dec 27 07:30:02 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
594
+
595
+ * Changed fields to default to :decoded on :to_s, all container objects
596
+ retain :encoded as the default for :to_s
597
+
598
+ == Thu Dec 17 06:35:05 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
599
+
600
+ * Fixed parsing error 'Subject: =?ISO-8859-1?Q?Re=3A_ol=E1?=' (has a new line embedded)
601
+
602
+ == Thu Dec 17 02:14:23 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
603
+
604
+ * Version 1.3.4
605
+ * Vendor'd treetop
606
+
607
+ == Thu Dec 17 01:32:00 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
608
+
609
+ * Version 1.3.3
610
+ * Removed dependency on treetop, don't need it at runtime
611
+
612
+ == Wed Dec 16 23:48:46 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
613
+
614
+ * Version 1.3.2
615
+ * Resolved Ruby 1.9.1-head not working because File.basename only accepts US-ASCII or 8Bit
616
+
617
+ == Sun Dec 13 01:06:17 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
618
+
619
+ * Version 1.3.1
620
+ * Resolved Issue #18 - Wrong instance variable name
621
+ * Resolved Issue #15 - Duplicate block call
622
+
623
+ == Thu Dec 10 21:25:37 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
624
+
625
+ * Resolved Issue #13 - replacing From field results in from field becoming optional field.
626
+
627
+ == Thu 3 Dec 2009 00:52:12 UTC Mikel Lindsaar <raasdnil@gmail.com>
628
+
629
+ * Added POP upgrades from Nicolas Fouché
630
+ * Added patch to handle multiple from lines in email from Luke Grimstrup
631
+
632
+ == Mon Nov 23 23:34:22 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
633
+
634
+ * Resolved Issue #12 - Wrong comment in smtp.rb
635
+
636
+ == Mon Nov 23 22:35:50 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
637
+
638
+ * Changed the way attachments are added so that it does not break depending on the order of the Hash passed in.
639
+ * Version bump to 1.3.0 - Now works with Edge ActionMailer, MRI 1.8.6, 1.8.7, 1.9.1, all tests passing
640
+
641
+ == Sun Nov 22 12:19:44 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
642
+
643
+ * Added check on add_part to make sure if there is already a body, and if so, make a text_part of the body
644
+ * Fixing up attachment adding and making sure multipart emails always have boundaries
645
+ * Change Message#attachments to now recursively return all attachments in the email in an ordered flattened array
646
+ * Added ability for Mail::Message to accept {:headers => {'custom-header' => 'value', 'another-custom-header' => 'value'}} as a param on init
647
+ * Adding ability to Mail::Message to add a part via :part(params) with optional block
648
+ * Fixed up QP encoding forcing underscores into everything with a space
649
+ * Added ReturnPathField#address
650
+ * Updating gem loads and active support loads
651
+
652
+ == Sat Nov 21 12:52:46 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
653
+
654
+ * Changed Mail::Encodings to clean it up, added in unquote_and_convert_to as well as refactor in this area
655
+
656
+ == Thu Nov 19 04:16:10 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
657
+
658
+ * Added sendmail support from (Simon Rozet)
659
+ * Changed to bundler for gem dependancies and moved gem generation into rakefile (Simon Rozet)
660
+ * Bumped to 1.2.6 for sendmail support
661
+
662
+ == Wed Nov 18 04:26:21 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
663
+
664
+ * Changed Encodings.param_encode(string) so it intelligently encodes and quotes needed
665
+ items and leaves plain, no special char, US-ASCII alone unquoted.
666
+
667
+ == Sat Nov 14 08:20:21 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
668
+
669
+ * Resolved Issue #10 - empty/nil cc/bcc field causes exception (Mail::Field::ParseError)
670
+
671
+ == Fri Nov 13 00:31:04 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
672
+
673
+ * Hacked and mutilated the network section, made it easier to extend out with other
674
+ delivery and retriever methods. API changed SLIGHTLY with this. Please check the
675
+ readme
676
+ * Resolved Issue #8 - Mail::SMTP now delivers to all mail.destinations
677
+ * Version bump to 1.2.5
678
+
679
+ == Thu Nov 12 02:58:01 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
680
+
681
+ * Resolved Issue #5 - Message ID not handling multiple periods in left hand side
682
+ * Resolved Issue #6 - Ordering of add_file and body items causes invalid emails
683
+
684
+ == Tue Nov 10 08:15:14 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
685
+
686
+ * Resolved Issue #5 - Message ID generation issue
687
+ * Resolved Issue #7 - README add_file examples don't seem to work - Updated readme and
688
+ rdoc in Message#add_file
689
+
690
+ == Mon Nov 9 23:38:33 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
691
+
692
+ * Added ability to create new email via a hash or hash-like object. <mikel>
693
+ * Moved all of the Part init into the Message class. Part now just uses Message's init,
694
+ also moved all the attachment related functions into Message. As Part is a subclass
695
+ of message, you shouldn't see any interface changes here.
696
+
697
+ == Fri Nov 6 22:52:10 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
698
+
699
+ * a6ef2b4: Fixed Issue #4 - Can't call encoding on non existant
700
+ content-transer-encoding header
701
+
702
+ == Fri Nov 6 00:51:55 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
703
+
704
+ * Handled unstructured field folding "blank" lines
705
+ * Fixed error in header.rb that created fields into an array, instead of a FieldList, resulting
706
+ in mail.encode returning a random sort order on the header.
707
+ * Made unstructured fields attempt to decode their values on :decode
708
+
709
+ == Thu Nov 5 04:45:31 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
710
+
711
+ * 2acb70a: Closes Issue #1 - Handling badly formatted content-type fields <mikel>
712
+
713
+ == Wed Nov 4 23:24:32 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
714
+
715
+ * 2b5d608: Closes Issue #2 - Empty header field values not parsing <mikel>
716
+ * Version bumb to 1.2.1
717
+
718
+ == Wed Nov 4 12:54:43 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
719
+
720
+ * Renamed Mail::Message.encode! to Mail::Message.ready_to_send!, deprecated :encode! <mikel>
721
+ * Rewrote encoding and decoding methods on all classes. Adds a lot of boiler plate code, but allows us to
722
+ be really precise in each field type that needs custom encoding. Now all encoding is done by the field_type
723
+ itself. Need to follow through on the body. <mikel>
724
+ * Bump version to 1.2.0 due to changes of :encoded, :decoded behaviour <mikel>
725
+
726
+ == Tue Nov 3 00:59:45 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
727
+
728
+ * Tested mail against entire Enron set (2.3gb) and the Trec 2005 set (0.5gb), ~ half a million emails without crashing <jlindley>
729
+ * Some headers only can appear once, enforce during header parse assignment. <jlindley>
730
+ * Convert empty bodies into empty arrays instead of nil. <jlindley>
731
+ * Handle blank content dispositions. <jlindley>
732
+ * Mention Trec 2005 Spam Corpus in readme <jlindley>
733
+ * Add 'rake corpus:verify_all' to allow parse checks in bulk. <jlindley>
734
+ * Added handling of multi value parameters, like filename*1*="us-ascii'en'blah" filename*2="bleh" <mikel>
735
+ * Added dependency on ActiveSupport 2.3 or higher <mikel>
736
+
737
+ == Sun Nov 1 12:00:00 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
738
+
739
+ * handle OpenSSL::SSL::VERIFY_NONE returning 0 <jlindley>
740
+ * doing Mail.new { content_type [text, plain, { charset => UTF-8 }] } is now
741
+ possible (content type accepts an array) <mikel>
742
+
743
+ == Sat Oct 31 11:00:41 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
744
+
745
+ * Fixed attachment handling, so mail can find attachment from a content-type,
746
+ content-disposition or content-location
747
+ * Added content-location field and parser
748
+ * Added message.has_attachments? for ActionMailer friendliness
749
+ * Added attachment.original_filename for ActionMailer friendliness
750
+
751
+ == Sat Oct 25 13:38:01 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
752
+
753
+ * Birthday, Mail released as a gem... phew