mail 2.7.0.rc1 → 2.7.0.rc2

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