{"id":13413278,"url":"https://github.com/sanbornm/mp","last_synced_at":"2025-03-22T18:33:08.582Z","repository":{"id":17907393,"uuid":"20865496","full_name":"sanbornm/mp","owner":"sanbornm","description":"Simple Email Parser","archived":false,"fork":false,"pushed_at":"2016-05-11T19:40:58.000Z","size":1135,"stargazers_count":47,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-14T14:05:20.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanbornm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-15T21:14:39.000Z","updated_at":"2023-10-15T19:50:38.000Z","dependencies_parsed_at":"2022-06-29T21:03:56.604Z","dependency_job_id":null,"html_url":"https://github.com/sanbornm/mp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanbornm%2Fmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanbornm%2Fmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanbornm%2Fmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanbornm%2Fmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanbornm","download_url":"https://codeload.github.com/sanbornm/mp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221832246,"owners_count":16888202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:01:36.698Z","updated_at":"2024-10-28T13:31:24.561Z","avatar_url":"https://github.com/sanbornm.png","language":"Go","funding_links":[],"categories":["JSON","Relational Databases","Utilities","實用工具","实用工具","工具库"],"sub_categories":["Search and Analytic Databases","检索及分析资料库","Advanced Console UIs","SQL 查询语句构建库","高級控制台界面","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","HTTP Clients","Middlewares","交流","高级控制台界面"],"readme":"mp - mail parser [![Build Status](https://travis-ci.org/sanbornm/mp.svg?branch=master)](https://travis-ci.org/sanbornm/mp)\n==\n\nmp is a simple cli email parser.  It currently takes stdin and outputs JSON.\n\nExample:\n\n```\ncat fixtures/test.eml | mp\n```\n\n```\n{\n  \"Text\": \"Hello world!\",\n  \"Html\": \"\\u003cb\\u003eHello world!\\u003c/b\\u003e\",\n  \"Headers\": {\n    \"Content-Type\": \"multipart/mixed; boundary=\\\"----mailcomposer-?=_1-1402581589619\\\"\",\n    \"From\": \"\\\"Me\\\" \\u003cme@domain.com\\u003e\",\n    \"Mime-Version\": \"1.0\",\n    \"To\": \"\\\"First Receiver\\\" \\u003cfirst@domain.com\\u003e, second@domain.com\",\n    \"X-Mailer\": \"Nodemailer 1.0\"\n  },\n  \"From\": [\n    {\n      \"Name\": \"Me\",\n      \"Address\": \"me@domain.com\"\n    }\n  ],\n  \"To\": [\n    {\n      \"Name\": \"First Receiver\",\n      \"Address\": \"first@domain.com\"\n    },\n    {\n      \"Name\": \"\",\n      \"Address\": \"second@domain.com\"\n    }\n  ],\n  \"Cc\": null,\n  \"Priority\": \"normal\",\n  \"Attachments\": [\n    {\n      \"ContentType\": \"text/plain\",\n      \"Filename\": \"dummyFile.txt\",\n      \"Disposition\": \"attachment\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanbornm%2Fmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanbornm%2Fmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanbornm%2Fmp/lists"}