mail 2.5.5 → 2.8.1

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