search for: tmailtest

Displaying 1 result from an estimated 1 matches for "tmailtest".

Did you mean: mailtest
2006 May 25
4
Does TMail support Nested Multipart Messages? (Repost)
....rubyonrails.org/svn/rails/trunk/actionmailer/CHANGELOG), but I haven''t been able to get it working so far. Maybe I am doing something wrong here? I attached the sample mail. Here is the code to parse it: require File.dirname(__FILE__) + ''/../test_helper'' class TMailTest < Test::Unit::TestCase def test_multiparts assert raw = File.read("sample") assert mail = TMail::Mail.parse (raw) puts "body=!#{body_as_plain_text (mail)}!" end def body_as_plain_text(part) body = '''' if part.multipart?...