Skip to content
This repository
Newer
Older
100644 266 lines (176 sloc) 13.186 kb
84b21d19 »
2010-01-24 Added :raise_delivery_errors to Mail::Message
1 == Sat Jan 23 23:49:50 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
2
e551e8d1 »
2010-01-24 Version bump to 2.0.5
3 * Version bump to 2.0.5
84b21d19 »
2010-01-24 Added :raise_delivery_errors to Mail::Message
4 * 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
5
619408e1 »
2010-01-24 Added observers to mail messages, and also perform deliveries flag. A…
6 == Sat Jan 23 23:28:42 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
7
e551e8d1 »
2010-01-24 Version bump to 2.0.5
8 * Version bump to 2.0.5
619408e1 »
2010-01-24 Added observers to mail messages, and also perform deliveries flag. A…
9 * 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.
10 * 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)
11 * 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
12
76239193 »
2010-01-23 Version bump to 2.0.3
13 == Sat Jan 23 05:32:53 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
14
15 * Version bump to 2.0.3
16 * Made body.sort_parts! recursive, to do the entire body
17 * Added ability to use << on the results returned by the various address fields, ie, mail.to << 'new@address' now works
18 * Message now adds multipart/mixed as the content type if nothing is set and there are parts to the message
19 * Added #display_names and #addrs to all address fields. #addrs returns the actual Mail::Address object for each address in the field.
c6a32ebc »
2010-01-23 Updating changelog
20 * Body should call to_s on given input... incase someone gave it an IO.readlines result (Array)
21 *
76239193 »
2010-01-23 Version bump to 2.0.3
22
a7dd291d »
2010-01-21 Refactored Attachment handling
23 == Thu Jan 21 05:27:17 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
24
72a7a9e4 »
2010-01-21 Version bump to 2.0.2
25 * Version bump to 2.0.2
26 * Major change to attachments, add_file now only accepts
27 {:filename => 'full/path/to/file.png'} or
28 {:filename => 'file.png', :content => 'string of file content'}
29 you can also now do mail.attachments['filename.png'] = File.read('path/to/file.png')
30 which is nice too!
a7dd291d »
2010-01-21 Refactored Attachment handling
31
d1491186 »
2010-01-16 Updating changelog
32 == Fri Jan 15 09:20:51 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
33
34 * Rewrote all network classes to not use singletons. Means different Mail::Message objects can have different delivery methods.
35 * Added examples for how to send via GMail, MobileMe, Sendmail, File etc.
36 * Version bump to 2.0.0 as Network API changed drastically, now not a singleton class.
37 * Fixed that return-path should only return one address
38
e5a628ae »
2010-01-15 Updating Changelog
39 == Thu Jan 14 10:41:22 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
40
41 * Version update to 1.6.0 - API change on mail.address_fields to always return arrays
42 * Updated all message.address_field methods to always return arrays, so mail.from #=> ['one@address.com'] now, is least surprise
43 * Updated handling of empty group lists so it didn't crash
44
45 == Thu Jan 12 10:41:47 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
46
47 * Version 1.5.3, handling invalid input on fields. Highly recommended update
48 * 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.
49
6173ed78 »
2010-01-08 Version bump to 1.5.2
50 == Fri 8 Jan 2010 00:00:08 UTC Mikel Lindsaar <raasdnil@gmail.com>
51
52 * Version bump to 1.5.2
53
54 == Fri 8 Jan 8:55:49 2010 +1100 Mikel Lindsaar <raasdnil@gmail.com>
55
56 * Updated Sendmail and SMTP delivery methods to use return-path if present
57 * Fix up a lot of content-type parsing problems
58 * Updating compat listing
59 * Moving error emails into one directory
60 * Moving error emails into one directory
61 * Initializing @tls variable to remove warnings
62 * Moved default corpus directory
63 * Fixed up git ignore file
64
65 == Thu 6 Jan 2010 23:59:29 UTC Mikel Lindsaar <raasdnil@gmail.com>
66
67 * Added compatibility list to Readme.rdoc
68 * Fixing encoding of return path to be per RFC 2822, adding angle brackets around the addr_spec
69 * Specs covering return path setting and preserving
70
71 == Thu 5 Jan 2010 23:59:48 UTC Mikel Lindsaar <raasdnil@gmail.com>
72
73 * Moving the require for tlsmail for Ruby 1.8.6 into mail.rb
74
e6de07ce »
2010-01-03 Version bump to 1.5.0 - API change on Message#field_name
75 == Sun Jan 3 00:08:06 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
76
77 * Version bump to 1.5.0
78
79 * 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'].
80
81 == Sat Jan 2 04:12:53 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
82
83 * 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."
84
85 * 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.
86
87 * 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']
88
fbafc494 »
2009-12-28 Added sorting of parts, default is text/plain, then text/enriched and…
89 == Mon 28 Dec 2009 01:21:52 UTC Mikel Lindsaar <raasdnil@gmail.com>
90
91 * 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)
92 * Version bump to 1.4.2
93
fc65df35 »
2009-12-27 Version bump to 1.4.1
94 == Sun Dec 27 10:38:24 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
95
96 * Updating treetop and mail to initialize uninitialized instance variables to
97 nil
98 * Version bump to 1.4.1
99
0843a70c »
2009-12-27 Version bump to 1.4 because now :to_s calls :decoded for all fields a…
100 == Sun Dec 27 09:51:27 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
101
fc65df35 »
2009-12-27 Version bump to 1.4.1
102 * Version bump to 1.4 because now :to_s calls :decoded for all fields and body
103 while :to_s calls :encoded for Message and Header containers. Makes sense...
104 really.
0843a70c »
2009-12-27 Version bump to 1.4 because now :to_s calls :decoded for all fields a…
105
3a9fbd03 »
2009-12-27 Updated treetop loading off vendor to work with no polyglot, made def…
106 == Sun Dec 27 07:30:02 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
107
fc65df35 »
2009-12-27 Version bump to 1.4.1
108 * Changed fields to default to :decoded on :to_s, all container objects
109 retain :encoded as the default for :to_s
3a9fbd03 »
2009-12-27 Updated treetop loading off vendor to work with no polyglot, made def…
110
4b6335e4 »
2009-12-17 Fixed parsing error 'Subject: =?ISO-8859-1?Q?Re=3A_ol=E1?=' (has a ne…
111 == Thu Dec 17 06:35:05 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
112
113 * Fixed parsing error 'Subject: =?ISO-8859-1?Q?Re=3A_ol=E1?=' (has a new line embedded)
114
f0dc07f9 »
2009-12-17 Vendor'd treetop
115 == Thu Dec 17 02:14:23 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
116
117 * Version 1.3.4
118 * Vendor'd treetop
119
e7465bb1 »
2009-12-17 Updating to 1.3.3 - for actionmailer integration
120 == Thu Dec 17 01:32:00 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
121
122 * Version 1.3.3
123 * Removed dependency on treetop, don't need it at runtime
124
835b7183 »
2009-12-17 Resolved Ruby 1.9.1-head not working because File.basename only accep…
125 == Wed Dec 16 23:48:46 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
126
713c6cea »
2009-12-17 Version 1.3.2
127 * Version 1.3.2
835b7183 »
2009-12-17 Resolved Ruby 1.9.1-head not working because File.basename only accep…
128 * Resolved Ruby 1.9.1-head not working because File.basename only accepts US-ASCII or 8Bit
129
eecc12a9 »
2009-12-13 Resolved Issue #18 - Wrong instance variable name
130 == Sun Dec 13 01:06:17 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
131
713c6cea »
2009-12-17 Version 1.3.2
132 * Version 1.3.1
eecc12a9 »
2009-12-13 Resolved Issue #18 - Wrong instance variable name
133 * Resolved Issue #18 - Wrong instance variable name
0ae2bc85 »
2009-12-13 Resolved Issue #15 - Duplicate block call
134 * Resolved Issue #15 - Duplicate block call
eecc12a9 »
2009-12-13 Resolved Issue #18 - Wrong instance variable name
135
001a868f »
2009-12-11 Resolved Issue #13 - replacing From field results in from field becom…
136 == Thu Dec 10 21:25:37 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
137
138 * Resolved Issue #13 - replacing From field results in from field becoming optional field.
139
c5b1b257 »
2009-12-03 Added changes from Nicolas Fouché
140 == Thu 3 Dec 2009 00:52:12 UTC Mikel Lindsaar <raasdnil@gmail.com>
141
142 * Added POP upgrades from Nicolas Fouché
fa257d63 »
2009-12-03 Added patch to handle multiple from lines in email from Luke Grimstrup
143 * Added patch to handle multiple from lines in email from Luke Grimstrup
c5b1b257 »
2009-12-03 Added changes from Nicolas Fouché
144
85d4afcb »
2009-11-24 Resolved Issue #12 - Wrong comment in smtp.rb
145 == Mon Nov 23 23:34:22 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
146
147 * Resolved Issue #12 - Wrong comment in smtp.rb
148
ed24a886 »
2009-11-24 Version bump to 1.3.0 - Now works with Edge ActionMailer, MRI 1.8.6, …
149 == Mon Nov 23 22:35:50 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
150
fc65df35 »
2009-12-27 Version bump to 1.4.1
151 * Changed the way attachments are added so that it does not break depending on the order of the Hash passed in.
ed24a886 »
2009-11-24 Version bump to 1.3.0 - Now works with Edge ActionMailer, MRI 1.8.6, …
152 * Version bump to 1.3.0 - Now works with Edge ActionMailer, MRI 1.8.6, 1.8.7, 1.9.1, all tests passing
153
ea6e292d »
2009-11-22 Version bump to 1.2.8, new gem release, now compatible with mikel/rai…
154 == Sun Nov 22 12:19:44 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
155
156 * Added check on add_part to make sure if there is already a body, and if so, make a text_part of the body
157 * Fixing up attachment adding and making sure multipart emails always have boundaries
158 * Change Message#attachments to now recursively return all attachments in the email in an ordered flattened array
159 * Added ability for Mail::Message to accept {:headers => {'custom-header' => 'value', 'another-custom-header' => 'value'}} as a param on init
160 * Adding ability to Mail::Message to add a part via :part(params) with optional block
161 * Fixed up QP encoding forcing underscores into everything with a space
162 * Added ReturnPathField#address
163 * Updating gem loads and active support loads
164
cdf44012 »
2009-11-21 Refactor in Mail::Encodings, also body now auto decodes itself on #de…
165 == Sat Nov 21 12:52:46 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
166
167 * Changed Mail::Encodings to clean it up, added in unquote_and_convert_to as well as refactor in this area
168
2e5652df »
2009-11-19 Updating change log for new version for sendmail support
169 == Thu Nov 19 04:16:10 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
170
171 * Added sendmail support from (Simon Rozet)
172 * Changed to bundler for gem dependancies and moved gem generation into rakefile (Simon Rozet)
173 * Bumped to 1.2.6 for sendmail support
174
4f2baf20 »
2009-11-18 Updated Encodings.param_encode(string) so it intelligently encodes an…
175 == Wed Nov 18 04:26:21 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
176
177 * Changed Encodings.param_encode(string) so it intelligently encodes and quotes needed
178 items and leaves plain, no special char, US-ASCII alone unquoted.
179
d596fa65 »
2009-11-14 Resolved Issue #10 - empty/nil cc/bcc field causes exception (Mail::F…
180 == Sat Nov 14 08:20:21 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
181
182 * Resolved Issue #10 - empty/nil cc/bcc field causes exception (Mail::Field::ParseError)
183
e12737ec »
2009-11-13 Hacked and mutilated the network section, made it easier to extend ou…
184 == Fri Nov 13 00:31:04 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
185
186 * Hacked and mutilated the network section, made it easier to extend out with other
187 delivery and retriever methods. API changed SLIGHTLY with this. Please check the
188 readme
189 * Resolved Issue #8 - Mail::SMTP now delivers to all mail.destinations
190 * Version bump to 1.2.5
191
26bc1c10 »
2009-11-12 Resolved Issue #8- Message ID not handling multiple periods in left h…
192 == Thu Nov 12 02:58:01 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
193
e12737ec »
2009-11-13 Hacked and mutilated the network section, made it easier to extend ou…
194 * Resolved Issue #5 - Message ID not handling multiple periods in left hand side
15894ad0 »
2009-11-12 Resolved Issue #6 - Ordering of add_file and body items causes invali…
195 * Resolved Issue #6 - Ordering of add_file and body items causes invalid emails
26bc1c10 »
2009-11-12 Resolved Issue #8- Message ID not handling multiple periods in left h…
196
300202f8 »
2009-11-10 Resolves Issue #5. Message ID generation Issue
197 == Tue Nov 10 08:15:14 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
198
199 * Resolved Issue #5 - Message ID generation issue
f0930bba »
2009-11-10 Resolves issue #7 - Readme and docs incorrect for Message#add_file
200 * Resolved Issue #7 - README add_file examples don't seem to work - Updated readme and
201 rdoc in Message#add_file
300202f8 »
2009-11-10 Resolves Issue #5. Message ID generation Issue
202
de8b4d99 »
2009-11-10 Added ability for mail to be created via a hash, Mail.new({:to => 'mi…
203 == Mon Nov 9 23:38:33 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
204
205 * Added ability to create new email via a hash or hash-like object. <mikel>
d4681904 »
2009-11-10 Moved all init and attachment functions of Mail::Part into Mail::Mess…
206 * Moved all of the Part init into the Message class. Part now just uses Message's init,
207 also moved all the attachment related functions into Message. As Part is a subclass
208 of message, you shouldn't see any interface changes here.
de8b4d99 »
2009-11-10 Added ability for mail to be created via a hash, Mail.new({:to => 'mi…
209
5b1f7a48 »
2009-11-07 Update change log
210 == Fri Nov 6 22:52:10 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
211
212 * a6ef2b4: Fixed Issue #4 - Can't call encoding on non existant
213 content-transer-encoding header
214
c423a330 »
2009-11-06 Various patches during ActionMailer merge, see changelog.
215 == Fri Nov 6 00:51:55 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
216
217 * Handled unstructured field folding "blank" lines
218 * Fixed error in header.rb that created fields into an array, instead of a FieldList, resulting
219 in mail.encode returning a random sort order on the header.
220 * Made unstructured fields attempt to decode their values on :decode
221
fde87b5b »
2009-11-05 Update change log
222 == Thu Nov 5 04:45:31 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
223
224 * 2acb70a: Closes Issue #1 - Handling badly formatted content-type fields <mikel>
225
a303b1f9 »
2009-11-05 Updated change log, version bump to 1.2.1 and updated readme
226 == Wed Nov 4 23:24:32 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
227
fde87b5b »
2009-11-05 Update change log
228 * 2b5d608: Closes Issue #2 - Empty header field values not parsing <mikel>
a303b1f9 »
2009-11-05 Updated change log, version bump to 1.2.1 and updated readme
229 * Version bumb to 1.2.1
230
e5840b7c »
2009-11-05 Ripped out and replaced the entire encoding / decoding suite of tools…
231 == Wed Nov 4 12:54:43 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
232
a303b1f9 »
2009-11-05 Updated change log, version bump to 1.2.1 and updated readme
233 * Renamed Mail::Message.encode! to Mail::Message.ready_to_send!, deprecated :encode! <mikel>
ee16b2be »
2009-11-05 Fixed change log, bump version
234 * Rewrote encoding and decoding methods on all classes. Adds a lot of boiler plate code, but allows us to
235 be really precise in each field type that needs custom encoding. Now all encoding is done by the field_type
a303b1f9 »
2009-11-05 Updated change log, version bump to 1.2.1 and updated readme
236 itself. Need to follow through on the body. <mikel>
237 * Bump version to 1.2.0 due to changes of :encoded, :decoded behaviour <mikel>
e5840b7c »
2009-11-05 Ripped out and replaced the entire encoding / decoding suite of tools…
238
5a60c8cf »
2009-11-03 Updated version and mainifest and changelog
239 == Tue Nov 3 00:59:45 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
240
a303b1f9 »
2009-11-05 Updated change log, version bump to 1.2.1 and updated readme
241 * Tested mail against entire Enron set (2.3gb) and the Trec 2005 set (0.5gb), ~ half a million emails without crashing <jlindley>
5a60c8cf »
2009-11-03 Updated version and mainifest and changelog
242 * Some headers only can appear once, enforce during header parse assignment. <jlindley>
243 * Convert empty bodies into empty arrays instead of nil. <jlindley>
244 * Handle blank content dispositions. <jlindley>
245 * Mention Trec 2005 Spam Corpus in readme <jlindley>
246 * Add 'rake corpus:verify_all' to allow parse checks in bulk. <jlindley>
247 * Added handling of multi value parameters, like filename*1*="us-ascii'en'blah" filename*2="bleh" <mikel>
248 * Added dependency on ActiveSupport 2.3 or higher <mikel>
249
ed01949c »
2009-11-03 Version 1.1.0 commit. Also added treeetop rake task to generate .tree…
250 == Sun Nov 1 12:00:00 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
251
252 * handle OpenSSL::SSL::VERIFY_NONE returning 0 <jlindley>
253 * doing Mail.new { content_type [text, plain, { charset => UTF-8 }] } is now
254 possible (content type accepts an array) <mikel>
255
3cf76555 »
2009-10-31 Adding change log
256 == Sat Oct 31 11:00:41 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
257
258 * Fixed attachment handling, so mail can find attachment from a content-type,
259 content-disposition or content-location
260 * Added content-location field and parser
261 * Added message.has_attachments? for ActionMailer friendliness
262 * Added attachment.original_filename for ActionMailer friendliness
263
264 == Sat Oct 25 13:38:01 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
265
266 * Birthday, Mail released as a gem... phew
Something went wrong with that request. Please try again.