TMail 1.2.1 is out (or will be in 24 hours).
I have updated ActionMailer to the new version of TMail.
Also, fixed a test in mail_service_test.rb => test_decode_encoded_attachment_filename which had an incorrect decode value and the test was passing even though the code was wrong. This showed up when I fixed another part of TMail, and then this test broke.
See test output following for what it was expecting and what it received. The test result SHOULD give spaces in the file name. Changed the test to reflect this and all tests pass.
1) Failure:
test_decode_encoded_attachment_filename(ActionMailerTest)
[./test/mail_service_test.rb:841:in `test_decode_encoded_attachment_filename'
<snip>
<"01QuienTeDijat.Pitbull.mp3"> expected but was
<"01 Quien Te Dij\212at. Pitbull.mp3">.
The TMail Fixes are:
* More documentation
* Added 15 test cases from the Rails ActionMailer to TMail
* Changed mailscanner to tmailscanner (mailscanner is copyrighted)
* Closed TMail Bug - Handled quote boundary being gready on content-type header (M. Mondragon)
* Closed TMail 16025 - Fixed scanner.rb so it passes same tests as scanner.c
* Closed TMail 16283 - Handled incorrect decoding of attachments (M. Aoki - garyo)
* Closed TMail 16899 - HeaderField.new_from_port and added test cases to cover this code
* Closed TMail 16900 - UNIXMbox.fromaddr missing port param and does not return Envelope Sender