Re: email.encoders.encode_base64 creates one line only

2011-02-10 Thread spam
This is with python 3.1.2 (r312:79147). I have not tried with 2.7. When I create an attachment with email.mime.image.MIMEImage, by default it uses email.encoders.encode_base64 for the encoder, but that results in a single line base64 string, instead of the recommended multiple 76-chars lines.

email.encoders.encode_base64 creates one line only

2011-02-06 Thread spam
This is with python 3.1.2 (r312:79147). I have not tried with 2.7. When I create an attachment with email.mime.image.MIMEImage, by default it uses email.encoders.encode_base64 for the encoder, but that results in a single line base64 string, instead of the recommended multiple 76-chars lines.