FreeBSD.software
Home/mail/py311-mail-parser

py311-mail-parser

3.15.0_1

Wrapper for email standard library

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.

Origin: mail/py-mail-parser
Category: mail
Size: 215KiB
License: APACHE20
Maintainer: sunpoet@FreeBSD.org
Dependencies: 4 packages
Required by: 1 packages
$pkg install py311-mail-parser

Dependencies (4)

Required By (1 packages)

More in mail