Port details on branch 2022Q2 |
- py-mail-parser Wrapper for email standard library
- 3.15.0 mail =1 3.15.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2019-02-04 00:01:36
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: json-c, sysinfo, python, miller
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/SpamScope/mail-parser
- Description:
- mail-parser is not only a wrapper for email Python Standard Library. It give you
an easy way to pass from raw mail to Python object that you can use in your
code. It's the key module of SpamScope.
mail-parser can parse Outlook email format (.msg) with msgconvert from
mail/p5-Email-Outlook-Message.
mail-parser takes as input a raw email and generates a parsed object. The
properties of this object are the same name of RFC headers: bcc, cc, date,
delivered_to, from_ (not from because is a keyword of Python), message_id,
received, reply_to, subject, to.
There are other properties to get: body, body html, body plain, headers,
attachments, sender IP address, to domains, timezone.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}mail-parser>0:mail/py-mail-parser@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/mail/py-mail-parser/ && make install clean
- To add the package, run one of these commands:
- pkg install mail/py-mail-parser
- pkg install py39-mail-parser
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-mail-parser listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-mail-parser
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1614794306
SHA256 (mail-parser-3.15.0.tar.gz) = d66638acf0633dfd8a718e1e3646a6d58f8e9d75080c94638c7b267b4b0d6c86
SIZE (mail-parser-3.15.0.tar.gz) = 18001
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- msgconvert : mail/p5-Email-Outlook-Message
- py39-simplejson>=3.17.0 : devel/py-simplejson@py39
- py39-six>=1.14.0 : devel/py-six@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- mail/py-mailsuite
Configuration Options:
- No options to configure
- Options name:
- mail_py-mail-parser
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|