From sven.riedel at experteer.com Sun Jun 14 07:09:32 2009 From: sven.riedel at experteer.com (Sven Riedel) Date: Sun, 14 Jun 2009 13:09:32 +0200 Subject: [Tmail-talk] TMail::Mail#from_addrs= not working as documented Message-ID: <4A34DA6C.6030804@experteer.com> Hi, according to the rdoc, #from_addrs should work as follows: mail = TMail::Mail.new mail.from_addrs = "Mikel , another Mikel " mail.from_addrs #=> [#, #] However, in irb I get: irb(main):001:0> require 'tmail' => true irb(main):002:0> mail = TMail::Mail.new => # bodyport=nil> irb(main):003:0> mail.from_addrs = "Mikel , another Mikel " => "Mikel , another Mikel " irb(main):004:0> mail.from_addrs => ["Mikel , another Mikel "] ie the passed in addresses don't get parsed, just set as is. #to_addrs seems to work as it should. This is with TMail 1.2.3.1, Ruby 1.8.7p72 Regards, Sven From raasdnil at gmail.com Mon Jun 15 06:58:35 2009 From: raasdnil at gmail.com (Mikel Lindsaar) Date: Mon, 15 Jun 2009 20:58:35 +1000 Subject: [Tmail-talk] Tmail cant read MS-Outlook mails perfectly. In-Reply-To: <14c35d650906142307w45b26096od141182abc7d8b64@mail.gmail.com> References: <14c35d650906142307w45b26096od141182abc7d8b64@mail.gmail.com> Message-ID: <57a815bf0906150358j5633d30re4f46d191bef5f27@mail.gmail.com> On Mon, Jun 15, 2009 at 4:07 PM, Atul Veer - BetterLabs wrote: > Tmail 1.2.3. I was woundering if this patch has been added to the new tmail > version or not. Yes, it is in there under the utils.rb file under the method quote_boundary > Many of our users use MS - outlook and I would really appreciate any help in > fixing this. No problem. TMail is on github, just clone it and write a failing test with that email you are talking about as a first step, then see if you can patch it, if not, come back with what you find and I am sure we can work something out to fix it. > Also, can anyone please give me Mikel's email address. I tried > 'mikel at lindsaar.net' but its bouncing. Thanks for letting me know, I'll get that fixed. You did find my email address though. Mikel -- http://lindsaar.net/ Rails, RSpec and Life blog....