Re: How to handle attachments passed via Postfix

2015-10-13 Thread Anthony Papillion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On October 13, 2015 2:04:09 AM CDT, Burak Arslan 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 >>> > d

Re: How to handle attachments passed via Postfix

2015-10-13 Thread Burak Arslan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 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 th

Re: How to handle attachments passed via Postfix

2015-10-12 Thread Anthony Papillion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/12/2015 3:58 AM, Chris Angelico wrote: > On Mon, Oct 12, 2015 at 6:17 PM, Anthony Papillion > wrote: >> I'm writing a script that will have email with attachments passed >> to it via Postfix. Postfix is properly passing the email to the >> s

Re: How to handle attachments passed via Postfix

2015-10-12 Thread Chris Angelico
On Mon, Oct 12, 2015 at 6:17 PM, Anthony Papillion wrote: > I'm writing a script that will have email with attachments passed to it via > Postfix. Postfix is properly passing the email to the script but I'm not > quite sure how to get at the attachment. What I need to do is save the > attachm

How to handle attachments passed via Postfix

2015-10-12 Thread Anthony Papillion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I'm writing a script that will have email with attachments passed to it via Postfix. Postfix is properly passing the email to the script but I'm not quite sure how to get at the attachment. What I need to do is save the attachment out to the fil