Re: [Haskell-cafe] Question: mime-mail and base64 encoding

2010-12-07 Thread Nicolas Pouillard
On Mon, 6 Dec 2010 22:21:35 -0800, Nathan Howell nathan.d.how...@gmail.com wrote: On Mon, Dec 6, 2010 at 8:42 PM, Michael Snoyman mich...@snoyman.com wrote: The request is to make both the HTML and plain text parts use base64 encoding by default. This *seems* to me to make a lot of sense,

Re: [Haskell-cafe] Question: mime-mail and base64 encoding

2010-12-07 Thread Michael Snoyman
On Tue, Dec 7, 2010 at 8:21 AM, Nathan Howell nathan.d.how...@gmail.com wrote: On Mon, Dec 6, 2010 at 8:42 PM, Michael Snoyman mich...@snoyman.com wrote: The request is to make both the HTML and plain text parts use base64 encoding by default. This *seems* to me to make a lot of sense, since

Re: [Haskell-cafe] Question: mime-mail and base64 encoding

2010-12-07 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/7/10 01:21 , Nathan Howell wrote: The way I've seen it done before was to: - calculate the size of the body in quoted-printable and base64 encoding - select the smaller encoded form of the two quoted-printable is fairly human readable.

[Haskell-cafe] Question: mime-mail and base64 encoding

2010-12-06 Thread Michael Snoyman
Hi all, I've gotten a request for the mime-mail package that I'd like some input on. Right now, there's the ability to fully specify whether or not to base64-encode each part in a message, but the included simpleMail function defaults to non-encoded parts for both its HTML and plain text

Re: [Haskell-cafe] Question: mime-mail and base64 encoding

2010-12-06 Thread Conrad Parker
On 7 December 2010 13:42, Michael Snoyman mich...@snoyman.com wrote: Hi all, I've gotten a request for the mime-mail package that I'd like some input on. Right now, there's the ability to fully specify whether or not to base64-encode each part in a message, but the included simpleMail

Re: [Haskell-cafe] Question: mime-mail and base64 encoding

2010-12-06 Thread Nathan Howell
On Mon, Dec 6, 2010 at 8:42 PM, Michael Snoyman mich...@snoyman.com wrote: The request is to make both the HTML and plain text parts use base64 encoding by default. This *seems* to me to make a lot of sense, since it will ensure that your message arrives exactly as you intended it, and will