├── .gitignore ├── LICENSE ├── MANIFEST.in ├── README.md ├── mailparser_reply ├── __init__.py ├── constants.py ├── parser.py └── version.py ├── main.py ├── setup.py └── test ├── emails ├── begins_with_signature.txt ├── caution.txt ├── caution2.txt ├── correct_sig.txt ├── email_1_1.txt ├── email_1_3.txt ├── email_1_4.txt ├── email_1_5.txt ├── email_1_6.txt ├── email_1_7.txt ├── email_1_8.txt ├── email_2_1.txt ├── email_2_2.txt ├── email_2_3.txt ├── email_3_1.txt ├── email_bullets.txt ├── email_gmail.txt ├── email_headers_no_delimiter.txt ├── email_ja_1_1.txt ├── email_ja_1_2.txt ├── email_nl_1_1.txt ├── email_nl_1_2.txt ├── email_one_is_not_on.txt ├── email_partial_quote_header.txt ├── email_pl_1_1.txt ├── email_pl_1_2.txt ├── email_pl_1_3.txt ├── email_sent_from_BlackBerry.txt ├── email_sent_from_iPhone.txt ├── email_sent_from_multi_word_mobile_device.txt ├── email_sent_from_not_signature.txt ├── email_sig_delimiter_in_middle_of_line.txt ├── email_sv_anon_1.txt ├── email_swedish_1.txt ├── email_swedish_2.txt ├── forward.txt ├── greedy_on.txt ├── multi_header.txt ├── multiline_on.txt ├── multiline_on_de.txt ├── outlook.txt └── pathological.txt └── test_email_reply_parser.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/README.md -------------------------------------------------------------------------------- /mailparser_reply/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/mailparser_reply/__init__.py -------------------------------------------------------------------------------- /mailparser_reply/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/mailparser_reply/constants.py -------------------------------------------------------------------------------- /mailparser_reply/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/mailparser_reply/parser.py -------------------------------------------------------------------------------- /mailparser_reply/version.py: -------------------------------------------------------------------------------- 1 | VERSION = '1.35' 2 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/main.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/setup.py -------------------------------------------------------------------------------- /test/emails/begins_with_signature.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/begins_with_signature.txt -------------------------------------------------------------------------------- /test/emails/caution.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/caution.txt -------------------------------------------------------------------------------- /test/emails/caution2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/caution2.txt -------------------------------------------------------------------------------- /test/emails/correct_sig.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/correct_sig.txt -------------------------------------------------------------------------------- /test/emails/email_1_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_1_1.txt -------------------------------------------------------------------------------- /test/emails/email_1_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_1_3.txt -------------------------------------------------------------------------------- /test/emails/email_1_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_1_4.txt -------------------------------------------------------------------------------- /test/emails/email_1_5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_1_5.txt -------------------------------------------------------------------------------- /test/emails/email_1_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_1_6.txt -------------------------------------------------------------------------------- /test/emails/email_1_7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_1_7.txt -------------------------------------------------------------------------------- /test/emails/email_1_8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_1_8.txt -------------------------------------------------------------------------------- /test/emails/email_2_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_2_1.txt -------------------------------------------------------------------------------- /test/emails/email_2_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_2_2.txt -------------------------------------------------------------------------------- /test/emails/email_2_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_2_3.txt -------------------------------------------------------------------------------- /test/emails/email_3_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_3_1.txt -------------------------------------------------------------------------------- /test/emails/email_bullets.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_bullets.txt -------------------------------------------------------------------------------- /test/emails/email_gmail.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_gmail.txt -------------------------------------------------------------------------------- /test/emails/email_headers_no_delimiter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_headers_no_delimiter.txt -------------------------------------------------------------------------------- /test/emails/email_ja_1_1.txt: -------------------------------------------------------------------------------- 1 | こんにちは、みなさん! -------------------------------------------------------------------------------- /test/emails/email_ja_1_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_ja_1_2.txt -------------------------------------------------------------------------------- /test/emails/email_nl_1_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_nl_1_1.txt -------------------------------------------------------------------------------- /test/emails/email_nl_1_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_nl_1_2.txt -------------------------------------------------------------------------------- /test/emails/email_one_is_not_on.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_one_is_not_on.txt -------------------------------------------------------------------------------- /test/emails/email_partial_quote_header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_partial_quote_header.txt -------------------------------------------------------------------------------- /test/emails/email_pl_1_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_pl_1_1.txt -------------------------------------------------------------------------------- /test/emails/email_pl_1_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_pl_1_2.txt -------------------------------------------------------------------------------- /test/emails/email_pl_1_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_pl_1_3.txt -------------------------------------------------------------------------------- /test/emails/email_sent_from_BlackBerry.txt: -------------------------------------------------------------------------------- 1 | Here is another email 2 | 3 | Sent from my BlackBerry 4 | -------------------------------------------------------------------------------- /test/emails/email_sent_from_iPhone.txt: -------------------------------------------------------------------------------- 1 | Here is another email 2 | 3 | Sent from my iPhone 4 | -------------------------------------------------------------------------------- /test/emails/email_sent_from_multi_word_mobile_device.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_sent_from_multi_word_mobile_device.txt -------------------------------------------------------------------------------- /test/emails/email_sent_from_not_signature.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_sent_from_not_signature.txt -------------------------------------------------------------------------------- /test/emails/email_sig_delimiter_in_middle_of_line.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_sig_delimiter_in_middle_of_line.txt -------------------------------------------------------------------------------- /test/emails/email_sv_anon_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_sv_anon_1.txt -------------------------------------------------------------------------------- /test/emails/email_swedish_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_swedish_1.txt -------------------------------------------------------------------------------- /test/emails/email_swedish_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/email_swedish_2.txt -------------------------------------------------------------------------------- /test/emails/forward.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/forward.txt -------------------------------------------------------------------------------- /test/emails/greedy_on.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/greedy_on.txt -------------------------------------------------------------------------------- /test/emails/multi_header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/multi_header.txt -------------------------------------------------------------------------------- /test/emails/multiline_on.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/multiline_on.txt -------------------------------------------------------------------------------- /test/emails/multiline_on_de.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/multiline_on_de.txt -------------------------------------------------------------------------------- /test/emails/outlook.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/outlook.txt -------------------------------------------------------------------------------- /test/emails/pathological.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/emails/pathological.txt -------------------------------------------------------------------------------- /test/test_email_reply_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/test/test_email_reply_parser.py --------------------------------------------------------------------------------