Skip to content

HTTPS clone URL

Subversion checkout URL

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