# \[ANN\] Mail 2.2.0

**URL:** <https://www.ruby-forum.com/t/ann-mail-2-2-0/186681>\
**Category:** Rails\
**Created:** [April 11, 2010, 10:19am UTC](https://www.ruby-forum.com/t/ann-mail-2-2-0/186681 "2010-04-11T10:19:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikel\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/2bfe46/32.png) [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Post date:** [April 11, 2010, 10:19am UTC](https://www.ruby-forum.com/t/ann-mail-2-2-0/186681/1 "2010-04-11T10:19:51Z")

</div>

Mail version 2.2.0 has been pushed to [RubyGems.org](http://RubyGems.org).

I have also updated ActionMailer to use Mail 2.2.0 which removes  
(finally)  
all quoting and encoding of mail parts from ActionMailer, the methods in  
ActionMailer worked for most use cases, but there were a lot of edge  
cases  
they did not handle well, or at all.

Mail 2.2.0 should provide you with:

- Auto encoding and decoding of header fields from multibyte strings to  
US-ASCII representations
- Auto detection and encoding of body parts so that you can send non  
US-ASCII bodies without having to pre-encode them
- Many, many, many, many minor updates to how these parts are encoded  
and  
decoded, providing a much more readable and usable mail message.

Many thanks to Peter Bowen, from the SUSE project who contributed the  
Body  
encoding auto detection. Peter has also been added to the Mail project  
as a  
developer from this awesome work.

Look for Mail 2.2.0 to be included in the next Rails release.

You can install Mail with:

$ gem install mail

You can fork it at:

> **[GitHub - mikel/mail: A Really Ruby Mail Library](https://github.com/mikel/mail)**
>
> A Really Ruby Mail Library. Contribute to mikel/mail development by creating an account on GitHub.

If you want the latest actionmailer with Mail installed, look for it to  
appear shortly on [GitHub - rails/rails: Ruby on Rails](http://github.com/rails/rails) (my copy is at  
[GitHub - mikel/rails: Ruby on Rails](http://github.com/mikel/rails))

Please test, let me know bugs via the github tracker. Now that 2.2.0 is  
out, I am going to dive in to start resolving any outstanding bugs.

Finally, my work on mail is unpaid and I do it as part of my community  
contribution through my company RubyX.

Regards

Mikel

---

<div class="post-metadata">

**Author:** ![Mikel\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/2bfe46/32.png) [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Post date:** [April 12, 2010, 2:57pm UTC](https://www.ruby-forum.com/t/ann-mail-2-2-0/186681/2 "2010-04-12T14:57:16Z")

</div>

On Sun, Apr 11, 2010 at 5:19 PM, Mikel L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Mail version 2.2.0 has been pushed to [RubyGems.org](http://RubyGems.org).

Any reason to depend on ActiveSupport?
