From nicholas.cole at gmail.com Mon Jan 22 13:59:12 2007 From: nicholas.cole at gmail.com (Nicholas Cole) Date: Mon, 22 Jan 2007 12:59:12 +0000 Subject: [Email-SIG] How to see a message part with its content transfer encoding intact Message-ID: I'm looking to implement RFC 3156 (PGP/MIME) http://www.faqs.org/rfcs/rfc3156.html And am having some problems with section 5. Is there any way to get a "quoted-printable" message part as a string without removing the content transfer encoding? Appologies if I haven't had enough coffee yet today to make my problem clear.... Best wishes, N. From msapiro at value.net Mon Jan 22 19:09:39 2007 From: msapiro at value.net (Mark Sapiro) Date: Mon, 22 Jan 2007 10:09:39 -0800 Subject: [Email-SIG] How to see a message part with its content transferencoding intact In-Reply-To: Message-ID: Nicholas Cole wrote: > >Is there any way to get a "quoted-printable" message part as a string >without removing the content transfer encoding? > >Appologies if I haven't had enough coffee yet today to make my problem clear.... Perhaps I don't understand, but part.get_payload(decode=False) (which is the default for decode) would do what you seem to be asking. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From nicholas.cole at gmail.com Tue Jan 23 16:35:58 2007 From: nicholas.cole at gmail.com (Nicholas Cole) Date: Tue, 23 Jan 2007 15:35:58 +0000 Subject: [Email-SIG] How to see a message part with its content transferencoding intact In-Reply-To: References: Message-ID: > Perhaps I don't understand, but part.get_payload(decode=False) (which > is the default for decode) would do what you seem to be asking. Cheers. I'd missed that in the Docs, I'll see if it does the trick. Best wishes, N