Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.6.7. Trace fields parsing feature request #79

Open
jschoch opened this issue Feb 8, 2018 · 0 comments
Open

3.6.7. Trace fields parsing feature request #79

jschoch opened this issue Feb 8, 2018 · 0 comments

Comments

@jschoch
Copy link

jschoch commented Feb 8, 2018

Wondering if it is possible to parse out the trace fields as a feature of this library.

below is an example of a pesky mailing list email that needs to be parsed into an elixir data structure.

Received: from o2.sendgrid.meetup.com (o2.sendgrid.meetup.com [167.89.52.198])
  by stink.net (Postfix) with ESMTP id DD3A24082C
  for <[email protected]>; Wed, 17 May 2017 19:33:37 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=meetup.com;
  h=from:sender:to:subject:mime-version:content-type:content-transfer-encoding:reply-to:list-id;
  s=s1; bh=piU8Iw5s8gvft3sBDhNC2brnqOM=; b=Nwcb6ftfe8OOepzB6+/OGOR
  VDgsaHhrWgjBuCMVA7akYBWBIspqmmmvdRgQa91byXLCkJOG5V2ji8k/jPWiCiwx
  pnaWzs7ahqSZnpzIUTVkoiGE3vHXyG8PpAdu9eiqyP/drCbdhvq5E+qCL8h1BK8h
  +LPen3N1vyicoJMtYv5U=
Received: by filter0981p1mdw1.sendgrid.net with SMTP id filter0981p1mdw1-12567-591CA591-12
        2017-05-17 19:33:37.126823786 +0000 UTC
Received: from mail.sendgrid.meetup.com (ec2-34-196-236-240.compute-1.amazonaws.com [34.196.236.240])
  by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id 3N3kGOcpQzeoR1k1xtPE2A
  for <[email protected]>; Wed, 17 May 2017 19:33:37.149 +0000 (UTC)
Received: from mail.meetup.com (ip-10-192-12-125.ec2.internal [10.192.12.125])
  by mail.sendgrid.meetup.com (Postfix) with ESMTP id 1D90B40734
  for <[email protected]>; Wed, 17 May 2017 19:33:37 +0000 (UTC)
From: Anita Elder <[email protected]>
Sender: [email protected]
To: [email protected]
Subject: [Seattle-Photography-Club] Canon Explorers of Light: Stephen
 Johnson
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-MEETUP-TRACK: bc2
Reply-To: [email protected]
Mailing-List: list [email protected]; contact [email protected]
List-Id: <Seattle-Photography-Club-list.meetup.com>
Errors-To: [email protected]
Precedence: list
X-MEETUP-RECIP-ID: 213196484
X-MEETUP-MESG-ID: 80062686
Message-ID: <1621765400.1495049617110.JavaMail.nobody@9634c533c129>
Date: Wed, 17 May 2017 19:33:37 +0000 (UTC)
X-SG-EID: NxWPY2qdeEpd+G0Jh0zN3ogQlnZvFkv70eOuyeI5GmC4YpepTsxJ8KHY65q4kVGds4Ihwxx3IfqFOn
 Bs3ro1Oir7Ji2CS6cCcdMUcJryaHoibYhqElAtEl7bUXYkzzESH3zg0GZWmeOrmjqDgIKmaxULqYNw
 6q1xW1Lpfd1cJJXpbd26dE4eLrCe8rbAu3zPvcMJD+BF7FHw4OuVI16PETchca7JjjCDoPvctAUk6u
 0HMxZGdGbO7wSwQVo6uW3rHpxxnNkugXEg2uPVqV0Npg==

<html><body><div style=3D"color:#333;font-family:Verdana,Arial,sans-serif;f=
ont-size:12px;"><font face=3D"verdana,arial,sans-serif"><p>Tickets are now =
on sale for the November 17, 2017 speaker series featuring Stephen John, a =
Canon Explorers of Light.</p>
<p>More information and to purchase tickets (modest prices), go to=C2=A0<a =
href=3D"https://www.eventbrite.com/e/canon-explorer-of-light-speaker-ticket=
s-32421102390">https://www.eventbrite.com/e/canon-explorer-of-light-speaker=
-tickets-32421102390</a></p>
<p>Anita Elder,</p>
<p>Chair, Seattle Mountaineers Photography Committee</p>
<p>=C2=A0</p>
<br /><br />
<br />
<br />
--<br />
Please Note: If you hit "<strong>REPLY</strong>", your message will be sent=
 to <strong>everyone</strong> on this mailing list (<a href=3D"mailto:Seatt=
[email protected]">[email protected]=
om</a>)<br />
This message was sent by Meetup on behalf of <a href=3D"https://www.meetup.=
com/Seattle-Photography-Club/members/8681207/">Anita Elder</a> from <a href=
=3D"https://www.meetup.com/Seattle-Photography-Club/">Seattle Photography C=
lub</a>.
<br />
To report this message, please <a href=3D"https://www.meetup.com/report_abu=
se/mailing_list/80062686/">click here</a><br>
To block the sender of this message, please <a href=3D"https://www.meetup.c=
om/members/8681207/">click here</a><br>
To unsubscribe from special announcements from your Organizer(s), <a href=
=3D"https://www.meetup.com/Seattle-Photography-Club/optout/?submit=3Dtrue&_=
ms_unsub=3Dtrue&email=3DorgBdcst">click here</a>
<br /><br />
<small style=3D"color:gray">
<a href=3D"#" style=3D"color:#ccc;text-decoration:none;cursor:default;">Mee=
tup, POB 4668 #37895 NY NY USA 10163</a> | [email protected]
</small>
</div>
<img src=3D"https://u3922699.ct.sendgrid.net/wf/open?upn=3Dcn-2FFNZ-2Bh3bzG=
fqDtr0yClboILZ3qImoeGLyEBqXj5t1f7PnU24gu-2FM1Uh9nUBh4kPfURrKJNFU93d9YUf-2BE=
I2LiIM3KGCXYM0cnUb4f0Ut3VEa6i2Erl7ISMal4m-2Fn-2FZJIOw24cCHl8dnkBTUK85VrlOPd=
L22XgrHod6WZJbPMPLa3FcXw2bWhC8nK-2BKtj-2BG3HSFjcUTdK5BOkUe20nc0v7cC8bCavU1H=
tdzZxtzwh0DxjEUUabDuE4mc9AfpEWK" alt=3D"" width=3D"1" height=3D"1" border=
=3D"0" style=3D"height:1px !important;width:1px !important;border-width:0 !=
important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0=
 !important;margin-left:0 !important;padding-top:0 !important;padding-botto=
m:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>

without a reply_to or return_path "for" trace needs to be utilized to know the intended recipient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant