How to handle attachments passed via Postfix
Anthony Papillion
anthony at cajuntechie.org
Tue Oct 13 05:32:44 EDT 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On October 13, 2015 2:04:09 AM CDT, Burak Arslan <burak.arslan at arskom.com.tr> wrote:
>
>
>On 10/13/15 00:52, Anthony Papillion wrote:
>>> Check out the email.parser module, or the convenience function
>>> > email.message_from_string - you should be able to get at the
>>> > different parts (including attachments) from there.
>>> >
>> Many thanks! Checking it out now. Sounds like exactly what I'm
>looking
>> for.
>
>Also have a look at flanker (https://github.com/mailgun/flanker)
>basically doing the same thing.
>
>Here's why it exists:
>https://github.com/mailgun/flanker/blob/master/docs/User%20Manual.md#rationale
Thanks Burak!I've just had a look at it and it looks pretty amazing. I particularly like the speed incest and smaller memory footprint. Thanks for pointing me here!
Anthony
- --
Phone: +1.845.666.3312
Skype: CajunTechie
SIP/VoIP: 17772471988 at in.callcentric.com
PGP Key: 0x53B04B15
Fingerprint: C5CE E687 DDC2 D12B 9063 56EA 028A DF74 53B0 4B15
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1
iQJJBAEBCgAzBQJWHM+8LBxBbnRob255IFBhcGlsbGlvbiA8YW50aG9ueUBjYWp1
bnRlY2hpZS5vcmc+AAoJEAKK33RTsEsVmCQP/3KYdbTjyXW33BkCalagLosJC6os
xGVggx1TB8aK0QFDAJoVRAKZ7nn9AV75VC/+Y9qIVJyMWS9GQICMhU29NeSJ7Uao
DL6XqROpOy8hl9Mnu+e5c0TwL9SI2oKeOwRqxwJVVWq9kM/og99ryfKOaNIVBoV4
32gHHYqjEx/zXlmYTL0gTbYbK/LJyVlmfVYWXjdvb7QWsv8g+5NyRUpqKrx+Pvvs
YPhtfQ/ltgo7NxSU2e3hNWp91F29J840d82jvHVqPEMpAHVikFBYAD8B1fkeLvBi
z9x5mQfGdReLlnUngbCcJJ0/6Vwla5LeK2nvAJuMofjy2NKCS91arLmp5wIgWz7P
CMSep1Lt1Nhd1PRKMF0uXFMZ1i7cC7BzalyY6WJHnFBryLh0uxrEMH2ma1ZR+d7W
PgcMo4nmB9ECIbZAGQE5p46QJ08op8E5GnrtRfOlcCpJIYLT2CEIg4cSz14cPm8f
0mCP7iMz3B5CeASTnfJ425mTczHVgtd20FpiRNUh58JvoSlLL0nmRaL4yJfBlC+t
u75UsNxknWPsy3tDCDs2U+gdo0vrla0Ld5iy2i38oiJ0a9KBeUiLrJd7AJi4fQft
BPJHDdRbUBXnpkb7VyPLF7ftxEVvI/XxJr8NY99DU/hfexsOiY/49YFdj783GxDk
FuzU9Vmd1HAeou0T
=JVUd
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list