From 0e38f5bdccf7465ea05090db2a4a2659aa3012ea Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Sat, 21 Nov 2009 23:55:53 +1100 Subject: 131 tests, 266 assertions, 9 failures, 6 errors --- actionmailer/CHANGELOG | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'actionmailer/CHANGELOG') diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index 773e603d73..560ff3c426 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,3 +1,26 @@ +*Mail Integration + +* Mail does not have "quoted_body", "quoted_subject" etc. All of these are accessed via body.encoded, subject.encoded etc + +* Every part of a Mail object returns an object, never a string. So Mail.body returns a Mail::Body class object, need to call #encoded or #decoded to get the string you want + +* Mail::Message#set_content_type does not exist, it is simply Mail::Message#content_type + +* Every mail message gets a unique message_id unless you specify one, had to change all the tests that check for + equality with expected.encoded == actual.encoded to first replace their message_ids with control values + +* Mail now has a proper concept of parts, remove the ActionMailer::Part and ActionMailer::PartContainer classes + +* Calling #encoded on any object returns it as a string ready to go into the output stream of an email, this + means it includes the \r\n at the end of the lines and the object is pre-wrapped with \r\n\t if it is a + header field. Also, the "encoded" value includes the field name if it is a header field. + +* Attachments are only the actual attachment, with filename etc. A part contains an attachment. The part + has the content_type etc. So attachments.last.content_type is invalid. But parts.last.content_type + +* There is no idea of a "sub_head" in Mail. A part is just a Message with some extra functionality, so it + just has a "header" like a normal mail message + *2.3.2 [Final] (March 15, 2009)* * Fixed that ActionMailer should send correctly formatted Return-Path in MAIL FROM for SMTP #1842 [Matt Jones] -- cgit v1.2.3 From 747d56881a07d4636fbaceb1542579d5e02daddd Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Sun, 22 Nov 2009 23:20:57 +1100 Subject: 131 tests, 309 assertions, 0 failures, 0 errors --- actionmailer/CHANGELOG | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionmailer/CHANGELOG') diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index 560ff3c426..0d16540661 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -20,6 +20,9 @@ * There is no idea of a "sub_head" in Mail. A part is just a Message with some extra functionality, so it just has a "header" like a normal mail message + +* When you want to add a nested part, you now need to use "add_part(params)" instead of "part(params)" This + creates a Mail gem Part object *2.3.2 [Final] (March 15, 2009)* -- cgit v1.2.3 From a6eed86c33fbd074a08b76a678e968f521cf37b0 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Mon, 23 Nov 2009 20:50:49 +1100 Subject: Removing utils, and updating requires to match --- actionmailer/CHANGELOG | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'actionmailer/CHANGELOG') diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index 0d16540661..9b07686b64 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,13 +1,16 @@ *Mail Integration -* Mail does not have "quoted_body", "quoted_subject" etc. All of these are accessed via body.encoded, subject.encoded etc +* Mail does not have "quoted_body", "quoted_subject" etc. All of these are accessed via body.encoded, + subject.encoded etc -* Every part of a Mail object returns an object, never a string. So Mail.body returns a Mail::Body class object, need to call #encoded or #decoded to get the string you want +* Every part of a Mail object returns an object, never a string. So Mail.body returns a Mail::Body + class object, need to call #encoded or #decoded to get the string you want * Mail::Message#set_content_type does not exist, it is simply Mail::Message#content_type -* Every mail message gets a unique message_id unless you specify one, had to change all the tests that check for - equality with expected.encoded == actual.encoded to first replace their message_ids with control values +* Every mail message gets a unique message_id unless you specify one, had to change all the tests that + check for equality with expected.encoded == actual.encoded to first replace their message_ids with + control values * Mail now has a proper concept of parts, remove the ActionMailer::Part and ActionMailer::PartContainer classes @@ -20,9 +23,6 @@ * There is no idea of a "sub_head" in Mail. A part is just a Message with some extra functionality, so it just has a "header" like a normal mail message - -* When you want to add a nested part, you now need to use "add_part(params)" instead of "part(params)" This - creates a Mail gem Part object *2.3.2 [Final] (March 15, 2009)* -- cgit v1.2.3 From d9aadb5b2d79f3f647d5fddd1dae0910d7b83444 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Sun, 27 Dec 2009 18:39:37 +1100 Subject: Updating readme --- actionmailer/CHANGELOG | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'actionmailer/CHANGELOG') diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index 9b07686b64..5b0d036bc5 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -4,7 +4,10 @@ subject.encoded etc * Every part of a Mail object returns an object, never a string. So Mail.body returns a Mail::Body - class object, need to call #encoded or #decoded to get the string you want + class object, need to call #encoded or #decoded to get the string you want. + +* By default, a field will return the #decoded value when you send it :to_s and any object that + is a container (like header, body etc) will return #encoded value when you send it :to_s * Mail::Message#set_content_type does not exist, it is simply Mail::Message#content_type -- cgit v1.2.3 From c039bcdb1c94d8b28fc9398d4b88b4453cdd9fb1 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Mon, 28 Dec 2009 12:25:14 +1100 Subject: Moved sort_parts into Mail, updated mail requirement to 1.4.2 --- actionmailer/CHANGELOG | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionmailer/CHANGELOG') diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index 5b0d036bc5..dc2d5f7314 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,5 +1,9 @@ *Mail Integration +* ActionMailer::Base :default_implicit_parts_order now is in the sequence of the order you want, no +reversing of ordering takes place. The default order now is text/plain, then text/enriched, then +text/html and then any other part that is not one of these three. + * Mail does not have "quoted_body", "quoted_subject" etc. All of these are accessed via body.encoded, subject.encoded etc -- cgit v1.2.3