Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 350 lines (177 sloc) 13.028 kB
61e4370 @dhh Prepare for RC2
dhh authored
1 *2.2.1 [RC2] (November 14th, 2008)*
732c724 @granth Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7…
granth authored
2
3 * Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and the SMTP server supports it (This is required for Gmail's SMTP server) #1336 [Grant Hollingworth]
4
5
d224e6c @dhh Update CHANGELOGs with the last few fixes, set date for today
dhh authored
6 *2.2.0 [RC1] (October 24th, 2008)*
57c31a3 @dhh Prepare for Rails 2.2.0 [RC1]
dhh authored
7
6228220 @dhh Revert "Revert "Add layout functionality to mailers.""
dhh authored
8 * Add layout functionality to mailers [Pratik]
9
10 Mailer layouts behaves just like controller layouts, except layout names need to
11 have '_mailer' postfix for them to be automatically picked up.
12
57c31a3 @dhh Prepare for Rails 2.2.0 [RC1]
dhh authored
13
f9db769 @dhh Making ready for release of 2.1
dhh authored
14 *2.1.0 (May 31st, 2008)*
6a6367d @dhh Fixed that you don't have to call super in ActionMailer::TestCase#set…
dhh authored
15
5c0d38f @dhh Fixed that a return-path header would be ignored (closes #7572) [joost]
dhh authored
16 * Fixed that a return-path header would be ignored #7572 [joost]
17
fbd3eb7 @jeremy Less verbose mail logging: just recipients for :info log level; the w…
jeremy authored
18 * Less verbose mail logging: just recipients for :info log level; the whole email for :debug only. #8000 [iaddict, Tarmo Tänav]
19
2dda639 @technoweenie Updated TMail to version 1.2.1 [raasdnil]
technoweenie authored
20 * Updated TMail to version 1.2.1 [raasdnil]
21
feea0f1 @jeremy Reorder changelog. References #10766.
jeremy authored
22 * Fixed that you don't have to call super in ActionMailer::TestCase#setup #10406 [jamesgolick]
2dda639 @technoweenie Updated TMail to version 1.2.1 [raasdnil]
technoweenie authored
23
6a6367d @dhh Fixed that you don't have to call super in ActionMailer::TestCase#set…
dhh authored
24
69edebf @dhh Prepare for 2.0.2 release
dhh authored
25 *2.0.2* (December 16th, 2007)
26
27 * Included in Rails 2.0.2
28
29
1acd54a @dhh Make ready for 2.0.1
dhh authored
30 *2.0.1* (December 7th, 2007)
cf2ee14 @jeremy Fix silent failure of rxml templates. Closes #9879.
jeremy authored
31
bd5ed65 @technoweenie Update ActionMailer so it treats ActionView the same way that ActionC…
technoweenie authored
32 * Update ActionMailer so it treats ActionView the same way that ActionController does. Closes #10244 [rick]
33
34 * Pass the template_root as an array as ActionView's view_path
35 * Request templates with the "#{mailer_name}/#{action}" as opposed to just "#{action}"
36
a76490d @dhh Fixed that partial rendering should look at the type of the first ren…
dhh authored
37 * Fixed that partials would be broken when using text.plain.erb as the extension #10130 [java]
38
c443a61 Update README to use new smtp settings configuration API. Closes #100…
Marcel Molina authored
39 * Update README to use new smtp settings configuration API. Closes #10060 [psq]
40
57cde63 @dhh Allow ActionMailer subclasses to individually set their delivery meth…
dhh authored
41 * Allow ActionMailer subclasses to individually set their delivery method (so two subclasses can have different delivery methods) #10033 [zdennis]
42
2a51c86 @technoweenie Update TMail to v1.1.0. Use an updated version of TMail if available…
technoweenie authored
43 * Update TMail to v1.1.0. Use an updated version of TMail if available. [mikel]
44
2cc0cac @NZKoz Introduce TestCase subclasses for testing rails applications allowing…
NZKoz authored
45 * Introduce a new base test class for testing Mailers. ActionMailer::TestCase [Koz]
46
cf2ee14 @jeremy Fix silent failure of rxml templates. Closes #9879.
jeremy authored
47 * Fix silent failure of rxml templates. #9879 [jstewart]
48
12f8f89 @jeremy Fix attachment decoding when using the TMail C extension. Closes #7861.
jeremy authored
49 * Fix attachment decoding when using the TMail C extension. #7861 [orangechicken]
50
33e9876 @jeremy More changelog updates
jeremy authored
51 * Increase mail delivery test coverage. #8692 [Kamal Fariz Mahyuddin]
e963354 @jeremy Increase mail delivery test coverage. Closes #8692.
jeremy authored
52
271404e @jeremy Register alternative template engines using ActionMailer::Base.regist…
jeremy authored
53 * Register alternative template engines using ActionMailer::Base.register_template_extension('haml'). #7534 [cwd, Josh Peek]
54
4b08caf @technoweenie Only load ActionController::UrlWriter if ActionController is present …
technoweenie authored
55 * Only load ActionController::UrlWriter if ActionController is present [Rick Olson]
56
f9a4774 @jamis Make sure parsed emails recognize attachments nested in multpart part…
jamis authored
57 * Make sure parsed emails recognized attachments nested inside multipart parts. #6714 [Jamis Buck]
58
c3ff04b @jeremy Allow mailer actions named send by using __send__ internally. Closes …
jeremy authored
59 * Allow mailer actions named send by using __send__ internally. #6467 [iGEL]
60
ba553f9 @jeremy Add assert_emails and assert_no_emails to test the number of emails d…
jeremy authored
61 * Add assert_emails and assert_no_emails to test the number of emails delivered. #6479 [Jonathan Viney]
62 # Assert total number of emails delivered:
63 assert_emails 0
64 ContactMailer.deliver_contact
65 assert_emails 1
66
67 # Assert number of emails delivered within a block:
68 assert_emails 1 do
69 post :signup, :name => 'Jonathan'
70 end
71
660c945 @dhh Updated
dhh authored
72
73 *1.3.3* (March 12th, 2007)
74
75 * Depend on Action Pack 1.13.3
76
77
78 *1.3.2* (February 5th, 2007)
79
80 * Deprecate server_settings renaming it to smtp_settings, add sendmail_settings to allow you to override the arguments to and location of the sendmail executable. [Koz]
81
82
83 *1.3.1* (January 16th, 2007)
84
85 * Depend on Action Pack 1.13.1
86
87
88 *1.3.0* (January 16th, 2007)
89
45b5555 @jamis Make mime version default to 1.0. closes #2323
jamis authored
90 * Make mime version default to 1.0. closes #2323 [ror@andreas-s.net]
91
4d9ca4d @jamis Make sure quoted-printable text is decoded correctly when only portio…
jamis authored
92 * Make sure quoted-printable text is decoded correctly when only portions of the text are encoded. closes #3154. [jon@siliconcircus.com]
93
94 * Make sure DOS newlines in quoted-printable text are normalized to unix newlines before unquoting. closes #4166 and #4452. [Jamis Buck]
3e7aa03 @jamis Make sure DOS newlines in quoted-printable text are normalized to uni…
jamis authored
95
20bd4bd @dhh Updated docs and otherwise
dhh authored
96 * Fixed that iconv decoding should catch InvalidEncoding #3153 [jon@siliconcircus.com]
97
12ff554 @jeremy Tighten rescue clauses. Closes #5985.
jeremy authored
98 * Tighten rescue clauses. #5985 [james@grayproductions.net]
99
c064802 @dhh Automatically included ActionController::UrlWriter, such that URL gen…
dhh authored
100 * Automatically included ActionController::UrlWriter, such that URL generation can happen within ActionMailer controllers. [DHH]
101
74165eb @seckar New dependencies implementation
seckar authored
102 * Replace Reloadable with Reloadable::Deprecated. [Nicholas Seckar]
103
5446ecd @jeremy Mailer template root applies to a class and its subclasses rather tha…
jeremy authored
104 * Mailer template root applies to a class and its subclasses rather than acting globally. #5555 [somekool@gmail.com]
105
f3aa7c1 @jeremy r4730@asus: jeremy | 2006-06-29 13:13:38 -0700
jeremy authored
106 * Resolve action naming collision. #5520 [ssinghi@kreeti.com]
1fd9a46 @jeremy Resolve conflict among mailer actions with the same name. Closes #5520.
jeremy authored
107
0a407bc ActionMailer::Base documentation rewrite. Closes #4991 [Kevin Clark, …
Marcel Molina authored
108 * ActionMailer::Base documentation rewrite. Closes #4991 [Kevin Clark, Marcel Molina Jr.]
109
9f92dd3 Replace alias method chaining with Module#alias_method_chain. [Marcel…
Marcel Molina authored
110 * Replace alias method chaining with Module#alias_method_chain. [Marcel Molina Jr.]
111
6186490 Replace Ruby's deprecated append_features in favor of included. [Marc…
Marcel Molina authored
112 * Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
113
b305ef3 Correct spurious documentation example code which results in a Syntax…
Marcel Molina authored
114 * Correct spurious documentation example code which results in a SyntaxError. [Marcel Molina Jr.]
115
c064802 @dhh Automatically included ActionController::UrlWriter, such that URL gen…
dhh authored
116
06dd5d9 @dhh Its 2006, not 2005
dhh authored
117 *1.2.1* (April 6th, 2006)
944ae62 @dhh Update versions for Rails 1.1.1
dhh authored
118
119 * Be part of Rails 1.1.1
120
121
06dd5d9 @dhh Its 2006, not 2005
dhh authored
122 *1.2.0* (March 27th, 2006)
f2ee215 @jeremy Stricter matching for implicitly multipart filenames excludes files e…
jeremy authored
123
49efa02 @jamis Nil charset caused subject line to be improperly quoted in implicitly…
jamis authored
124 * Nil charset caused subject line to be improperly quoted in implicitly multipart messages #2662 [ehalvorsen+rails@runbox.com]
125
db0e8ff @jamis Parse content-type apart before using it so that sub-parts of the hea…
jamis authored
126 * Parse content-type apart before using it so that sub-parts of the header can be set correctly #2918 [Jamis Buck]
127
a46214c @jamis Make custom headers work in subparts (closes #4034)
jamis authored
128 * Make custom headers work in subparts #4034 [elan@bluemandrill.com]
129
34df9be @jamis Template paths with dot chars in them no longer mess up implicit temp…
jamis authored
130 * Template paths with dot chars in them no longer mess up implicit template selection for multipart messages #3332 [Chad Fowler]
131
185cca2 @jamis Make sure anything with content-disposition of "attachment" is passed…
jamis authored
132 * Make sure anything with content-disposition of "attachment" is passed to the attachment presenter when parsing an email body [Jamis Buck]
133
acfb8b6 @jamis Make sure TMail#attachments includes anything with content-dispositio…
jamis authored
134 * Make sure TMail#attachments includes anything with content-disposition of "attachment", regardless of content-type [Jamis Buck]
135
479b4fb @dhh Made ready for release
dhh authored
136
4e3c101 Add 1.0 marker to edge rails changelongs
Marcel Molina authored
137 *1.1.5* (December 13th, 2005)
138
139 * Become part of Rails 1.0
140
479b4fb @dhh Made ready for release
dhh authored
141
4e3c101 Add 1.0 marker to edge rails changelongs
Marcel Molina authored
142 *1.1.4* (December 7th, 2005)
143
5cb2aa7 Rename Version constant to VERSION. Closes #2802.
Marcel Molina authored
144 * Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
145
f2ee215 @jeremy Stricter matching for implicitly multipart filenames excludes files e…
jeremy authored
146 * Stricter matching for implicitly multipart filenames excludes files ending in unsupported extensions (such as foo.rhtml.bak) and without a two-part content type (such as foo.text.rhtml or foo.text.really.plain.rhtml). #2398 [Dave Burt <dave@burt.id.au>, Jeremy Kemper]
147
148
cd2b9a9 @dhh Made ready for 0.14.3 (RC4)
dhh authored
149 *1.1.3* (November 7th, 2005)
95e8740 @dhh Allow Mailers to have custom initialize methods that set default inst…
dhh authored
150
151 * Allow Mailers to have custom initialize methods that set default instance variables for all mail actions #2563 [mrj@bigpond.net.au]
152
153
c7a6b98 @dhh Prepared for release of 0.14.2 (RC3)
dhh authored
154 *1.1.2* (October 26th, 2005)
155
156 * Upgraded to Action Pack 1.10.2
157
158
e3e5d60 @dhh Really ready for push
dhh authored
159 *1.1.1* (October 19th, 2005)
160
161 * Upgraded to Action Pack 1.10.1
162
163
f4aaa26 @dhh Getting ready for 0.14.0 (1.0.0 Release Candidate 1)
dhh authored
164 *1.1.0* (October 16th, 2005)
bb62568 @dhh Fix problem with sendmail delivery where headers should be delimited …
dhh authored
165
59f1df1 @jamis Update/extend ActionMailer documentation (rdoc)
jamis authored
166 * Update and extend documentation (rdoc)
167
5e5c332 @dhh Minero Aoki made TMail available to Rails/ActionMailer under the MIT …
dhh authored
168 * Minero Aoki made TMail available to Rails/ActionMailer under the MIT license (instead of LGPL) [RubyConf '05]
169
bec70cf @dhh Austin Ziegler made Text::Simple available to Rails/ActionMailer unde…
dhh authored
170 * Austin Ziegler made Text::Simple available to Rails/ActionMailer under a MIT-like licens [See rails ML, subject "Text::Format Licence Exception" on Oct 15, 2005]
171
873be12 @jamis Fix vendor require paths to prevent files being required twice
jamis authored
172 * Fix vendor require paths to prevent files being required twice
173
8373b55 @jamis * Don't add charset to content-type header for a part that contains s…
jamis authored
174 * Don't add charset to content-type header for a part that contains subparts (for AOL compatibility) #2013 [John Long]
175
a322514 @jamis Preserve underscores when unquoting message bodies #1930
jamis authored
176 * Preserve underscores when unquoting message bodies #1930
177
ca41099 @jamis Encode multibyte characters correctly #1894
jamis authored
178 * Encode multibyte characters correctly #1894
179
dca4d4e @jamis Multipart messages specify a MIME-Version header automatically #2003 …
jamis authored
180 * Multipart messages specify a MIME-Version header automatically #2003 [John Long]
181
ae1e852 @jamis Add a unified render method to ActionMailer (delegates to ActionView:…
jamis authored
182 * Add a unified render method to ActionMailer (delegates to ActionView::Base#render)
183
f474f33 @jamis Move mailer initialization to a separate (overridable) method, so tha…
jamis authored
184 * Move mailer initialization to a separate (overridable) method, so that subclasses may alter the various defaults #1727
185
b13efaf @jamis Look at content-location header (if available) to determine filename …
jamis authored
186 * Look at content-location header (if available) to determine filename of attachments #1670
187
eda1719 @jamis ActionMailer::Base.deliver(email) had been accidentally removed, but …
jamis authored
188 * ActionMailer::Base.deliver(email) had been accidentally removed, but was documented in the Rails book #1849
189
bb62568 @dhh Fix problem with sendmail delivery where headers should be delimited …
dhh authored
190 * Fix problem with sendmail delivery where headers should be delimited by \n characters instead of \r\n, which confuses some mail readers #1742 [Kent Sibilev]
191
192
4259199 @dhh Made ready for release of 0.13.1
dhh authored
193 *1.0.1* (11 July, 2005)
194
195 * Bind to Action Pack 1.9.1
196
197
2789b5d @dhh Tuned documentation for release (AM)
dhh authored
198 *1.0.0* (6 July, 2005)
be27caf @dhh Fixed that email address like "Jamis Buck, M.D." <wild.medicine@examp…
dhh authored
199
06052cb @jamis Avoid adding nil values to mail headers #1392
jamis authored
200 * Avoid adding nil header values #1392
201
5c98152 @jamis Better multipart support with implicit multipart/alternative and sort…
jamis authored
202 * Better multipart support with implicit multipart/alternative and sorting of subparts [John Long]
203
5ddffc8 @jamis Allow for nested parts in multipart mails #1570 [Flurin Egger]
jamis authored
204 * Allow for nested parts in multipart mails #1570 [Flurin Egger]
205
24a8cb1 @jamis Normalize line endings in outgoing mail bodies to "\n" #1536 [John Long]
jamis authored
206 * Normalize line endings in outgoing mail bodies to "\n" #1536 [John Long]
207
813a8b9 @jamis Allow template to be explicitly specified #1448 [tuxie@dekadance.se]
jamis authored
208 * Allow template to be explicitly specified #1448 [tuxie@dekadance.se]
209
3b4eb7a @jamis Allow specific "multipart/xxx" content-type to be set on multipart me…
jamis authored
210 * Allow specific "multipart/xxx" content-type to be set on multipart messages #1412 [Flurin Egger]
211
996fa15 @jamis Unquoted @ chars in received email headers are parsed properly in spi…
jamis authored
212 * Unquoted @ characters in headers are now accepted in spite of RFC 822 #1206
213
ef141e8 @jamis Updated CHANGELOG
jamis authored
214 * Helper support (borrowed from ActionPack)
215
29d6d15 @jamis Silently ignore Errno::EINVAL errors when converting between charsets…
jamis authored
216 * Silently ignore Errno::EINVAL errors when converting text.
217
481d579 @jamis Don't error while processing encoded attachment names #1340 [lon@spee…
jamis authored
218 * Don't cause an error when parsing an encoded attachment name #1340 [lon@speedymac.com]
219
cf1e2a8 @jamis Handle parsing of recursively multipart messages
jamis authored
220 * Nested multipart message parts are correctly processed in TMail::Mail#body
221
508c26c @jamis BCC headers are removed when sending via SMTP
jamis authored
222 * BCC headers are removed when sending via SMTP #1402
223
100fd72 @jamis Added a "content_type" accessor to allow messages to explicitly speci…
jamis authored
224 * Added 'content_type' accessor, to allow content type to be set on a per-message basis. content_type defaults to "text/plain".
225
19da52d @jamis Ignore Iconv::IllegalSequence errors when converting text #1341 [lon@…
jamis authored
226 * Silently ignore Iconv::IllegalSequence errors when converting text #1341 [lon@speedymac.com]
227
359caef @jamis A very thorough refactoring, resulting in new mail property setters a…
jamis authored
228 * Support attachments and multipart messages.
229
230 * Added new accessors for the various mail properties.
231
9c92867 @dhh Fix attachments and content-type problems #1276 [Jamis Buck] Fix to o…
dhh authored
232 * Fix to only perform the charset conversion if a 'from' and a 'to' charset are given (make no assumptions about what the charset was) #1276 [Jamis Buck]
233
234 * Fix attachments and content-type problems #1276 [Jamis Buck]
235
483931e @dhh Fixed the TMail#body method to look at the content-transfer-encoding …
dhh authored
236 * Fixed the TMail#body method to look at the content-transfer-encoding header and unquote the body according to the rules it specifies #1265 [Jamis Buck]
237
238 * Added unquoting even if the iconv lib can't be loaded--in that case, only the charset conversion is skipped #1265 [Jamis Buck]
239
a2eb744 @dhh Added automatic decoding of base64 bodies #1214 [Jamis Buck]
dhh authored
240 * Added automatic decoding of base64 bodies #1214 [Jamis Buck]
241
74a612c @dhh Added that delivery errors are caught in a way so the mail is still r…
dhh authored
242 * Added that delivery errors are caught in a way so the mail is still returned whether the delivery was successful or not
243
be27caf @dhh Fixed that email address like "Jamis Buck, M.D." <wild.medicine@examp…
dhh authored
244 * Fixed that email address like "Jamis Buck, M.D." <wild.medicine@example.net> would cause the quoter to generate emails resulting in "bad address" errors from the mail server #1220 [Jamis Buck]
245
246
77af61b @dhh Added xml_http_request/xhr method for simulating XMLHttpRequest in fu…
dhh authored
247 *0.9.1* (20th April, 2005)
248
249 * Depend on Action Pack 1.8.1
250
251
7d01005 @dhh Fixed documentation and prepared for release of 0.12
dhh authored
252 *0.9.0* (19th April, 2005)
affe7c0 @dhh Fixed unquoting of emails that doesn't have an explicit charset #1036…
dhh authored
253
9357321 @dhh Added that deliver_* will now return the email that was sent
dhh authored
254 * Added that deliver_* will now return the email that was sent
255
256e800 @dhh Fixed quoting for all address headers, not just to #955 [Jamis Buck] …
dhh authored
256 * Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck]
257
7d01005 @dhh Fixed documentation and prepared for release of 0.12
dhh authored
258 * Fixed quoting for all address headers, not just to #955 [Jamis Buck]
259
affe7c0 @dhh Fixed unquoting of emails that doesn't have an explicit charset #1036…
dhh authored
260 * Fixed unquoting of emails that doesn't have an explicit charset #1036 [wolfgang@stufenlos.net]
261
262
04c7e82 @dhh Made ready for the release of 0.11.1
dhh authored
263 *0.8.1* (27th March, 2005)
e7fe15f @dhh Added rescue for missing iconv library and throws warnings if subject…
dhh authored
264
87b1d38 @dhh Fixed that if charset was found that the end of a mime part declarati…
dhh authored
265 * Fixed that if charset was found that the end of a mime part declaration TMail would throw an error #919 [lon@speedymac.com]
266
267 * Fixed that TMail::Unquoter would fail to recognize quoting method if it was in lowercase #919 [lon@speedymac.com]
268
269 * Fixed that TMail::Encoder would fail when it attempts to parse e-mail addresses which are encoded using something other than the messages encoding method #919 [lon@speedymac.com]
270
e7fe15f @dhh Added rescue for missing iconv library and throws warnings if subject…
dhh authored
271 * Added rescue for missing iconv library and throws warnings if subject/body is called on a TMail object without it instead
272
273
4e60fe3 @dhh Added documentation and fixed an ajax bug
dhh authored
274 *0.8.0* (22th March, 2005)
800b86e @dhh Added framework support for processing incoming emails with an Action…
dhh authored
275
4e60fe3 @dhh Added documentation and fixed an ajax bug
dhh authored
276 * Added framework support for processing incoming emails with an Action Mailer class. See example in README.
800b86e @dhh Added framework support for processing incoming emails with an Action…
dhh authored
277
278
1844190 @dhh Prepared for 0.10.1 release
dhh authored
279 *0.7.1* (7th March, 2005)
280
281 * Bind to newest Action Pack (1.5.1)
282
283
99fca63 @dhh Marked for release
dhh authored
284 *0.7.0* (24th February, 2005)
3fad0cd @dhh Added support for charsets for both subject and body. The default cha…
dhh authored
285
286 * Added support for charsets for both subject and body. The default charset is now UTF-8 #673 [Jamis Buck]. Examples:
287
288 def iso_charset(recipient)
289 @recipients = recipient
290 @subject = "testing iso charsets"
291 @from = "system@loudthinking.com"
292 @body = "Nothing to see here."
293 @charset = "iso-8859-1"
294 end
295
296 def unencoded_subject(recipient)
297 @recipients = recipient
298 @subject = "testing unencoded subject"
299 @from = "system@loudthinking.com"
300 @body = "Nothing to see here."
301 @encode_subject = false
302 @charset = "iso-8859-1"
303 end
304
305
a5364fb @dhh Made ready for release of 0.9.4.1
dhh authored
306 *0.6.1* (January 18th, 2005)
baae5a1 @dhh Fixed sending of emails to use Tmail#from not the deprecated Tmail#fr…
dhh authored
307
308 * Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_address
309
310
ddcc400 @dhh Made ready for release of 0.9.4
dhh authored
311 *0.6* (January 17th, 2005)
5f5b053 @dhh Fixed that bcc and cc should be settable through @bcc and @cc -- not …
dhh authored
312
313 * Fixed that bcc and cc should be settable through @bcc and @cc -- not just @headers["Bcc"] and @headers["Cc"] #453 [Eric Hodel]
314
315 * Fixed Action Mailer to be "warnings safe" so you can run with ruby -w and not get framework warnings #453 [Eric Hodel]
316
317
4e78b06 @dhh Rails 0.9 is a reality
dhh authored
318 *0.5*
165097e @dhh Added access to custom headers, like cc, bcc, and reply-to #268 [Andr…
dhh authored
319
320 * Added access to custom headers, like cc, bcc, and reply-to #268 [Andreas Schwarz]. Example:
321
322 def post_notification(recipients, post)
323 @recipients = recipients
324 @from = post.author.email_address_with_name
325 @headers["bcc"] = SYSTEM_ADMINISTRATOR_EMAIL
326 @headers["reply-to"] = "notifications@example.com"
327 @subject = "[#{post.account.name} #{post.title}]"
328 @body["post"] = post
329 end
330
db045db @dhh Initial
dhh authored
331 *0.4* (5)
332
333 * Consolidated the server configuration options into Base#server_settings= and expanded that with controls for authentication and more [Marten]
334 NOTE: This is an API change that could potentially break your application if you used the old application form. Please do change!
335
bdf51f9 @dhh Revealed the man behind the mask!
dhh authored
336 * Added Base#deliveries as an accessor for an array of emails sent out through that ActionMailer class when using the :test delivery option. [Jeremy Kemper]
db045db @dhh Initial
dhh authored
337
338 * Added Base#perform_deliveries= which can be set to false to turn off the actual delivery of the email through smtp or sendmail.
339 This is especially useful for functional testing that shouldn't send off real emails, but still trigger delivery_* methods.
340
341 * Added option to specify delivery method with Base#delivery_method=. Default is :smtp and :sendmail is currently the only other option.
342 Sendmail is assumed to be present at "/usr/sbin/sendmail" if that option is used. [Kent Sibilev]
343
344 * Dropped "include TMail" as it added to much baggage into the default namespace (like Version) [Chad Fowler]
345
346
347 *0.3*
348
359caef @jamis A very thorough refactoring, resulting in new mail property setters a…
jamis authored
349 * First release
Something went wrong with that request. Please try again.