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