Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 266 lines (176 sloc) 13.186 kb
84b21d1 @mikel Added :raise_delivery_errors to Mail::Message
authored
1 == Sat Jan 23 23:49:50 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
2
e551e8d @mikel Version bump to 2.0.5
authored
3 * Version bump to 2.0.5
84b21d1 @mikel Added :raise_delivery_errors to Mail::Message
authored
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
619408e @mikel Added observers to mail messages, and also perform deliveries flag. Als...
authored
6 == Sat Jan 23 23:28:42 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
7
f0e558f @mikel Fix changelog
authored
8 * Version bump to 2.0.4
619408e @mikel Added observers to mail messages, and also perform deliveries flag. Als...
authored
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
7623919 @mikel Version bump to 2.0.3
authored
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.
c6a32eb @mikel Updating changelog
authored
20 * Body should call to_s on given input... incase someone gave it an IO.readlines result (Array)
21 *
7623919 @mikel Version bump to 2.0.3
authored
22
a7dd291 @mikel Refactored Attachment handling
authored
23 == Thu Jan 21 05:27:17 UTC 2010 Mikel Lindsaar <raasdnil@gmail.com>
24
72a7a9e @mikel Version bump to 2.0.2
authored
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!
a7dd291 @mikel Refactored Attachment handling
authored
31
d149118 @mikel Updating changelog
authored
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
e5a628a @mikel Updating Changelog
authored
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
6173ed7 @mikel Version bump to 1.5.2
authored
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
e6de07c @mikel Version bump to 1.5.0 - API change on Message#field_name
authored
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
fbafc49 @mikel Added sorting of parts, default is text/plain, then text/enriched and te...
authored
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
fc65df3 @mikel Version bump to 1.4.1
authored
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
0843a70 @mikel Version bump to 1.4 because now :to_s calls :decoded for all fields and ...
authored
100 == Sun Dec 27 09:51:27 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
101
fc65df3 @mikel Version bump to 1.4.1
authored
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.
0843a70 @mikel Version bump to 1.4 because now :to_s calls :decoded for all fields and ...
authored
105
3a9fbd0 @mikel Updated treetop loading off vendor to work with no polyglot, made defaul...
authored
106 == Sun Dec 27 07:30:02 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
107
fc65df3 @mikel Version bump to 1.4.1
authored
108 * Changed fields to default to :decoded on :to_s, all container objects
109 retain :encoded as the default for :to_s
3a9fbd0 @mikel Updated treetop loading off vendor to work with no polyglot, made defaul...
authored
110
4b6335e @mikel Fixed parsing error 'Subject: =?ISO-8859-1?Q?Re=3A_ol=E1?=' (has a new l...
authored
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
f0dc07f @mikel Vendor'd treetop
authored
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
e7465bb @mikel Updating to 1.3.3 - for actionmailer integration
authored
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
835b718 @mikel Resolved Ruby 1.9.1-head not working because File.basename only accepts ...
authored
125 == Wed Dec 16 23:48:46 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
126
713c6ce @mikel Version 1.3.2
authored
127 * Version 1.3.2
835b718 @mikel Resolved Ruby 1.9.1-head not working because File.basename only accepts ...
authored
128 * Resolved Ruby 1.9.1-head not working because File.basename only accepts US-ASCII or 8Bit
129
eecc12a @mikel Resolved Issue #18 - Wrong instance variable name
authored
130 == Sun Dec 13 01:06:17 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
131
713c6ce @mikel Version 1.3.2
authored
132 * Version 1.3.1
eecc12a @mikel Resolved Issue #18 - Wrong instance variable name
authored
133 * Resolved Issue #18 - Wrong instance variable name
0ae2bc8 @mikel Resolved Issue #15 - Duplicate block call
authored
134 * Resolved Issue #15 - Duplicate block call
eecc12a @mikel Resolved Issue #18 - Wrong instance variable name
authored
135
001a868 @mikel Resolved Issue #13 - replacing From field results in from field becoming...
authored
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
c5b1b25 @mikel Added changes from Nicolas Fouché
authored
140 == Thu 3 Dec 2009 00:52:12 UTC Mikel Lindsaar <raasdnil@gmail.com>
141
142 * Added POP upgrades from Nicolas Fouché
fa257d6 @mikel Added patch to handle multiple from lines in email from Luke Grimstrup
authored
143 * Added patch to handle multiple from lines in email from Luke Grimstrup
c5b1b25 @mikel Added changes from Nicolas Fouché
authored
144
85d4afc @mikel Resolved Issue #12 - Wrong comment in smtp.rb
authored
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
ed24a88 @mikel Version bump to 1.3.0 - Now works with Edge ActionMailer, MRI 1.8.6, 1.8...
authored
149 == Mon Nov 23 22:35:50 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
150
fc65df3 @mikel Version bump to 1.4.1
authored
151 * 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, 1.8...
authored
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
ea6e292 @mikel Version bump to 1.2.8, new gem release, now compatible with mikel/rails/...
authored
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
cdf4401 @mikel Refactor in Mail::Encodings, also body now auto decodes itself on #decod...
authored
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
2e5652d @mikel Updating change log for new version for sendmail support
authored
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
4f2baf2 @mikel Updated Encodings.param_encode(string) so it intelligently encodes and q...
authored
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
d596fa6 @mikel Resolved Issue #10 - empty/nil cc/bcc field causes exception (Mail::Fiel...
authored
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
e12737e @mikel Hacked and mutilated the network section, made it easier to extend out w...
authored
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
26bc1c1 @mikel Resolved Issue #8- Message ID not handling multiple periods in left hand...
authored
192 == Thu Nov 12 02:58:01 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
193
e12737e @mikel Hacked and mutilated the network section, made it easier to extend out w...
authored
194 * 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 invalid e...
authored
195 * 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 hand...
authored
196
300202f @mikel Resolves Issue #5. Message ID generation Issue
authored
197 == Tue Nov 10 08:15:14 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
198
199 * Resolved Issue #5 - Message ID generation issue
f0930bb @mikel Resolves issue #7 - Readme and docs incorrect for Message#add_file
authored
200 * Resolved Issue #7 - README add_file examples don't seem to work - Updated readme and
201 rdoc in Message#add_file
300202f @mikel Resolves Issue #5. Message ID generation Issue
authored
202
de8b4d9 @mikel Added ability for mail to be created via a hash, Mail.new({:to => 'mikel...
authored
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>
d468190 @mikel Moved all init and attachment functions of Mail::Part into Mail::Message...
authored
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.
de8b4d9 @mikel Added ability for mail to be created via a hash, Mail.new({:to => 'mikel...
authored
209
5b1f7a4 @mikel Update change log
authored
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
c423a33 @mikel Various patches during ActionMailer merge, see changelog.
authored
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
fde87b5 @mikel Update change log
authored
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
a303b1f @mikel Updated change log, version bump to 1.2.1 and updated readme
authored
226 == Wed Nov 4 23:24:32 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
227
fde87b5 @mikel Update change log
authored
228 * 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
229 * Version bumb to 1.2.1
230
e5840b7 @mikel Ripped out and replaced the entire encoding / decoding suite of tools. ...
authored
231 == Wed Nov 4 12:54:43 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
232
a303b1f @mikel Updated change log, version bump to 1.2.1 and updated readme
authored
233 * Renamed Mail::Message.encode! to Mail::Message.ready_to_send!, deprecated :encode! <mikel>
ee16b2b @mikel Fixed change log, bump version
authored
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
a303b1f @mikel Updated change log, version bump to 1.2.1 and updated readme
authored
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>
e5840b7 @mikel Ripped out and replaced the entire encoding / decoding suite of tools. ...
authored
238
5a60c8c @mikel Updated version and mainifest and changelog
authored
239 == Tue Nov 3 00:59:45 UTC 2009 Mikel Lindsaar <raasdnil@gmail.com>
240
a303b1f @mikel Updated change log, version bump to 1.2.1 and updated readme
authored
241 * 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
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
ed01949 @mikel Version 1.1.0 commit. Also added treeetop rake task to generate .treeto...
authored
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
3cf7655 @mikel Adding change log
authored
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.