Skip to content

HTTPS clone URL

Subversion checkout URL

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