discourse / email_reply_trimmer

Library to trim replies from plain text email.
MIT License
58 stars 16 forks source link

Error parsing "-----Mensaje original-----" #3

Closed MiguelAngelLV closed 8 years ago

MiguelAngelLV commented 8 years ago

Some email have the form:

-----Mensaje original----- Enviado: ‎16/‎02/‎2016 14:53

This emails don't are correcting parser

ZogStriP commented 8 years ago

Can I get the raw email?

MiguelAngelLV commented 8 years ago

Delivered-To: hacklabalmeria.discourse+replya5c73ac8acb5b31abf179440b3f77c7f@gmail.com Received: by 10.202.58.7 with SMTP id h7csp1690360oia; Tue, 16 Feb 2016 06:10:09 -0800 (PST) X-Received: by 10.194.63.202 with SMTP id i10mr22402426wjs.118.1455631809356; Tue, 16 Feb 2016 06:10:09 -0800 (PST) Return-Path: jesusmarin30071992@gmail.com Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com. [2a00:1450:400c:c09::232]) by mx.google.com with ESMTPS id u3si32943024wmg.22.2016.02.16.06.10.09 for < hacklabalmeria.discourse+replya5c73ac8acb5b31abf179440b3f77c7f@gmail.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Feb 2016 06:10:09 -0800 (PST) Received-SPF: pass (google.com: domain of jesusmarin30071992@gmail.com designates 2a00:1450:400c:c09::232 as permitted sender) client-ip=2a00:1450:400c:c09::232; Authentication-Results: mx.google.com; spf=pass (google.com: domain of jesusmarin30071992@gmail.com designates 2a00:1450:400c:c09::232 as permitted sender) smtp.mailfrom= jesusmarin30071992@gmail.com; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Received: by mail-wm0-x232.google.com with SMTP id c200so157081480wme.0 for < hacklabalmeria.discourse+replya5c73ac8acb5b31abf179440b3f77c7f@gmail.com>; Tue, 16 Feb 2016 06:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;

h=message-id:mime-version:to:from:subject:date:in-reply-to:references :content-type; bh=xd4GxeRP0rOJnuG5Oo0+q+aPEhaDeIWQnBLox0GmmrQ=; b=Oeh4OV4sNpJBo2npzXA/6PouTnK7SePUrxMfVmaIG9545+OEGdEgISiDohLQ6X5arW

mPBxMW0UL4yw9itCHaOZEV43mvIXufVqY0oV3jR0GC6+pRw+Op3Sv/IMsC9KFE5MQNPl

OjQbS0gLCKltwtBcrVu9gFvkBf9OX/+icK0c/0UeYO3uIv4NhkwwJEGrEzbLd2JAeYwd

TyIETKe5lvPEQsnni2K+F1swANoHCkxMGFYWIxzenFBiURcIp3aZA6hrGUcT2157yAIa

JG2OTpwNYq+YdMB/S20+Dqp26XUDe2biWXjdOhKR0CFZfkOsaULnj8mVz+7tuUExJ3VY 5X2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :in-reply-to:references:content-type; bh=xd4GxeRP0rOJnuG5Oo0+q+aPEhaDeIWQnBLox0GmmrQ=; b=MsLi2ieGDHwb/iSeJg0Qk0ZD0DdPj50aiC6wqQkz8SDM0Ef0b7g3MMsOHLcC/FhcA6

Fc4p2dc9JwUTXGIcpxaFqnUws7ExlC8545NWT64HgrrW1bAduuD8kZEs04XLaiujG1PW

9/JAlRjIKD7TSTsi0flKpybYARHyAPAI/4gZRPZLUv0mXt5Fg7lcraXwAUvHBL/WyV3H

qjUBnFasN2U6b3oxnMkNDv/4Lhz25zvz9Wo9s7AhlmcMhbJSXtPB5txARJ/lyc7hglup

5znBRGsg/gi63moIS0A5InJIXCzX4woUXXTvPW6Vwk8EFtv2kjz1f1Lp93BG49eTSzu1 gmUw== X-Gm-Message-State: AG10YOS6bQ+8gmJU59+7nr2QVnetI2/FUGY4/CBMEwkBtuzgwFaCgisZwo9Ca9W9i2ej6A== X-Received: by 10.28.109.150 with SMTP id b22mr20706253wmi.27.1455631808928; Tue, 16 Feb 2016 06:10:08 -0800 (PST) Return-Path: jesusmarin30071992@gmail.com Received: from 10.168.161.199 by smtp.gmail.com with ESMTPSA id ka7sm30275005wjb.8.2016.02.16.06.10.07 for < hacklabalmeria.discourse+replya5c73ac8acb5b31abf179440b3f77c7f@gmail.com> (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Feb 2016 06:10:08 -0800 (PST) Message-ID: 56c32dc0.0775c20a.329eb.ffffaf74@mx.google.com MIME-Version: 1.0 To: =?utf-8?Q?Miguel_=C3=81ngel_L=C3=B3pez?= hacklabalmeria.discourse+replya5c73ac8acb5b31abf179440b3f77c7f@gmail.com From: =?utf-8?Q?Jes=C3=BAs_Mar=C3=ADn_Garc=C3=ADa?= jesusmarin30071992@gmail.com Subject: RE: [MP]Parser del email Date: Tue, 16 Feb 2016 15:09:58 +0100 In-Reply-To: topic/6627/14928@foro.hacklabalmeria.net References: topic/6627@foro.hacklabalmeria.net topic/6627/14928@foro.hacklabalmeria.net Content-Type: multipart/alternative; boundary="4B503F23-0BC7-4FF7-99CD-688955240EBD"

--4B503F23-0BC7-4FF7-99CD-688955240EBD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"

Igual que siempre (inclusive ahora), sin nada raro :/

-----Mensaje original----- De: "Miguel =C3=81ngel L=C3=B3pez" hacklabalmeria.discourse@gmail.com Enviado: =E2=80=8E16/=E2=80=8E02/=E2=80=8E2016 14:53 Para: "jesusmarin30071992@gmail.com" jesusmarin30071992@gmail.com Asunto: [MP]Parser del email

MiguelAngelLV=20 16 Febrero=20 No s=C3=A9 como has enviado el email respondiendo a lo del instituto que se= ha publicado un mont=C3=B3n de =C2=ABporquer=C3=ADa=C2=BB

Visita el tema o responde a este email para publicar. Para no recibir m=C3=A1s notificaciones de este tema en particular, haz cli=

c aqu=C3=AD. Para darte de baja de estos emails, cambia tus preferencias

--4B503F23-0BC7-4FF7-99CD-688955240EBD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Igual que siempre (inclusive ahora), sin nada raro :/

De: Miguel =C3=81ngel L=C3=B3pez
E= nviado: =E2=80=8E16/=E2=80=8E02/=E2=80=8E2016 14:53
Para:= <= a href=3D"mailto:jesusmarin30071992@gmail.com">jesusmarin30071992@gmail.com=
Asunto: [MP]Parser del email

=0A= =0A=
=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A= =0A= =0A= MiguelAngelLV=0A=
=0A= 16 Febrero=0A=

No s=C3=A9 como has en= viado el email respondiendo a lo del instituto que se ha publicado un mont= =C3=B3n de =C2=ABporquer=C3=ADa=C2=BB

=0A= =0A= =0A= =0A=
=0A= =0A=

Visita el tema o responde a este email pa= ra publicar.

=0A=

Para no recibir m=C3=A1s not= ificaciones de este tema en particular, haz clic aqu=C3=AD. Par= a darte de baja de estos emails, cambia tus preferencias

=0A= =0A=
=0A= =0A=
=0A=
=0A= =0A= =0A=
=0A=
=0A= =0A= =0A= = --_4B503F23-0BC7-4FF7-99CD-688955240EBD_--