mail/py-mail-parser 4.4.0 MidnightBSD
Wrapper for email standard library
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
cfee2a2ade- License
- Apache-2.0
- Categories
- mail, python
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.
In the other systems
The newest version among them is 4.6.5, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | mail/py-mail-parser | 4.4.0 behind since 2026-08-31 | no data | - | [email protected] | 2026-08-09 |
| FreeBSD | mail/py-mail-parser | 4.6.5 newest | none known | - | [email protected] | 2026-09-12 |
| NetBSD | mail/py-mail-parser | 4.6.4 behind since 2026-09-12 | none known | - | [email protected] | 2026-09-08 |
| DragonFly | mail/py-mail-parser | 3.15.0_1 behind since 2026-07-28 | none known | - | [email protected] | - |
| HardenedBSD | mail/py-mail-parser | 4.6.5 newest | no data | - | [email protected] | - |
| GhostBSD | mail/py-mail-parser | 4.6.5 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}mail-parser
From mports:
cd /usr/mports/mail/py-mail-parser && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mail-parser>0:mail/py-mail-parser
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 1
msgconvert: mail/p5-Email-Outlook-Message
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mail_parser-4.4.0.tar.gz | 2.852896e+06 | 82d2c0fa98a138620feaa87a378af2a2643b2941b2e125d7abfc65dd21094b33 |
Master sites 1
- PYPI