anks, your suggestions helped me think of this.
Nils
On Wednesday, September 25, 2013 9:38:17 AM UTC-7, Nils Bunger wrote:
> Hi,
>
>
>
> I'm having trouble encoding a MIME message with a binary file. Newline
> characters are being interpreted even though the content is
Hi Neil,
Thanks for looking at this.
I'm trying to create a multipart MIME for an HTTP POST request, not an email.
This is for a third-party API that requires a multipart POST with a binary
file, so I don't have the option to just use a different encoding.
Multipart HTTP is standardized in
Chris,
Thanks for answering.
Yes, it's email.mime.MIMEApplication. I've pasted a snippet with the imports
below.
I'm trying to use this to build a multi-part MIME message, with this as one
part.
I really can't figure out any way to attach a binary part like this to a
multi-part MIME messa