From 27f9b9df1bd0b3643f159a9229fd9cf8f1f00927 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 3 Feb 2016 15:32:13 +0100 Subject: [PATCH] Improved html2text method by using HTMLEntities gem (missing artefact). --- test/fixtures/mail36.box | 70 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 test/fixtures/mail36.box diff --git a/test/fixtures/mail36.box b/test/fixtures/mail36.box new file mode 100644 index 000000000..d22f1074b --- /dev/null +++ b/test/fixtures/mail36.box @@ -0,0 +1,70 @@ +Return-Path: +X-Original-To: me@example.com +Delivered-To: martin@arber.example.com +Received-SPF: softfail (example.com: Sender is not authorized by default to use 'm.Smith@example.com' in 'mfrom' identity, however domain is not currently prepared for false failures (mechanism '~all' matched)) receiver=arber.example.com; identity=mailfrom; envelope-from="m.Smith@example.com"; helo=mout.web.de; client-ip=212.227.15.14 +Received: from mout.web.de (mout.web.de [2.2.1.1]) + by arber.example.com (Postfix) with ESMTPS id CC5CF61391 + for ; Wed, 3 Feb 2016 13:23:33 +0100 (CET) +Received: from [79.228.218.253] by 3capp-webde-bs15.server.lan (via HTTP); + Wed, 3 Feb 2016 13:23:33 +0100 +MIME-Version: 1.0 +Message-ID: +From: "Martin Smith" +To: "Martin Edenhofer" +Subject: Fw: Zugangsdaten +Content-Type: text/html; charset=UTF-8 +Date: Wed, 3 Feb 2016 13:23:33 +0100 +Importance: normal +Sensitivity: Normal +References: <70E61C7E-7508-45D9-918E-D890862641E1@example.com>, + +X-UI-Message-Type: mail +X-Priority: 3 +X-Provags-ID: V03:K0:/WfykMPf5Mwa0ZvXBNkPO5anKRmg15X0kEGEx6sir6T + Iu1DfMCe1Rqe3ptJJPM6rUy7U0VBf9/N8eAXiGMlekWzR4A1KD + t2D3jKxbBmHQTLoPNpOLpQkO86WZPkGEIRvi4GzGt6y7+AF6Wr + YKe4AHIigSb7TubsOEGhV8vRzB7oObrecn+X9vfQD1vgQextTn + aZrl8Uz4Iq8Qgc9HaDcg2+IG7ZBMKeTgKGlqNqOEpj76pRy3il + HfkGfFxxgbnKg/RK0X0oC1rwgMubWuAxwA97c6AeTLFnPJxtPt ZQu4v0= +X-UI-Out-Filterresults: notjunk:1;V01:K0:Z3b52B2Tvas=:1Ly2mLCISrNqxwJZwsSJvd + ggRZBL9pBdcfKBkFAX6sMmwK+lPYbULi0XgW1MYCDo1JffR9/0dMVKxNGebwN6cBYp9BOZ4PL + c12fINf2qyNQpOUhI5OGSsdltK9XZqPk1MVBK2VoGF2HUo+lBhtzt9ilmD8zdMgXTla9YzQfu + mEm90UGBuITr3Cqln3YOV8nH24PTYE0nvkqLFRENEpR3cUGFxTYWiImuDjr8x+GaUcdqoa7EP + jxQQgSn011n3PozpFcDaw/09WrmkwJ4BlfXbu5jKdQR1X1hzSUrXxniCy1DY2QtX5OqPu+CnA + LrrHBQM4+Arxzd438ajIFoUlswodEY5HGOERMC4SxORgirHKkQz117HjPuPCHoLHqf+zmXgS5 + k68l59J5dk2qb1UvcidOMMMYyLEE0Le0K88qs8doKy5RnQZz+butudnLd2NsNZtyWPFbxZu3S + Vb8PRK9Gng== + +

+ +
-- 
+don't cry - work! (Rainald Goetz)
+ +
  +
  +
+
Gesendet: Mittwoch, 03. Februar 2016 um 12:43 Uhr
+Von: "Martin Smith" <m.Smith@example.com>
+An: linuxhotel@zammad.com
+Betreff: Fw: Zugangsdaten
+ +
+
+

+ +
-- 
+don't cry - work! (Rainald Goetz)
+ +
  +
  +
+
Gesendet: Freitag, 22. Januar 2016 um 11:52 Uhr
+Von: "Martin Edenhofer" <me@example.com>
+An: m.Smith@example.com
+Betreff: Zugangsdaten
+ +
Um noch vertrauter zu werden, kannst Du mit einen externen E-Mail Account (z. B. web.de) mal ein wenig selber “spielen”. :)
+ +