From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.177.33 with SMTP id c21cs91000yhm; Fri, 18 Nov 2011 11:39:10 -0800 (PST) Received: by 10.52.98.129 with SMTP id ei1mr4930435vdb.50.1321645148417; Fri, 18 Nov 2011 11:39:08 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id e2si1426104vdw.37.2011.11.18.11.39.08; Fri, 18 Nov 2011 11:39:08 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 2451415B8032 for ; Fri, 18 Nov 2011 14:39:08 -0500 (EST) Received: from mail-bw0-f50.google.com (mail-bw0-f50.google.com [209.85.214.50]) by rubyforge.org (Postfix) with ESMTP id 3454C1858363 for ; Fri, 18 Nov 2011 14:17:56 -0500 (EST) Received: by bkbzu17 with SMTP id zu17so4538895bkb.23 for ; Fri, 18 Nov 2011 11:17:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=/eOKb1Dz9sNKnMys7msZv4t/tYdVZr5Lo0yK6cFj6ZY=; b=pku3J3G3a0SLmKamo2eVCjApyMkOxgAjqLvhRP6iVTf2npPKfpY+Cw3NOk7u8Iq+CO 9Sc/6uPHI2kpwMbukdLe2Qm2R3GlGl3/tfhECdZGJaJigfTEBw2O9XosSwYZJ9YKk4ot uIl1WlsK4XEdUo3REpWWCAf+1UOqrxGEDVmZU= Received: by 10.204.14.208 with SMTP id h16mr4649875bka.2.1321643876201; Fri, 18 Nov 2011 11:17:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.75.195 with HTTP; Fri, 18 Nov 2011 11:17:35 -0800 (PST) From: Matthieu Rakotojaona Date: Fri, 18 Nov 2011 20:17:35 +0100 Message-ID: To: sup-devel Subject: [sup-devel] rmail gem is faulty X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Hello everyone, I have seen that 'rmail' doesn't parse some of my mails correctly. Specifically, it includes the body in the header fields (I don't know how it manages to do that). Moreover, last version dates from 2008. So I replaced it with the 'mail' gem [0], more up-to-date and updated, with some useful methods that we don't have to define specifically in heliotrope. The result is the patch enclosed. All I did was in lib/heliotrope/message.rb, so everything else works (mainly). [0] https://github.com/mikel/mail -- Matthieu RAKOTOJAONA _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel