You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it's possible to specify the Content-Transfer-Encoding on an attachment, but the body and html keys are left alone. These keys are then simply forwarded on to an email.Message object. Without being able to specify your own encoding on the keys, the Python stdlib email package will base-64 encode the body or the html if it found to require a utf-8 charset. It would be nice if this were overridable such that the body or html were encoded using quoted-printable.
One possibility would be to allow the body and html keys to accept an Attachment object.
Crappy spam filters may score the message down because it doesn't know how to deal with the content.
Does anyone have thoughts on this issue?
The text was updated successfully, but these errors were encountered:
When I try this with a latin-1 character in both the text/plain and text/html parts, it does get encoded quoted printable, see this repoze.sendmail commit: repoze/repoze.sendmail@96c11cf. I also tried this from pyramid_mailer and it also got quoted printable encoded when sent via SMTP. Can you provide a test case?
Currently it's possible to specify the
Content-Transfer-Encoding
on an attachment, but thebody
andhtml
keys are left alone. These keys are then simply forwarded on to anemail.Message
object. Without being able to specify your own encoding on the keys, the Python stdlibemail
package will base-64 encode thebody
or thehtml
if it found to require a utf-8 charset. It would be nice if this were overridable such that thebody
orhtml
were encoded using quoted-printable.One possibility would be to allow the
body
andhtml
keys to accept anAttachment
object.Crappy spam filters may score the message down because it doesn't know how to deal with the content.
Does anyone have thoughts on this issue?
The text was updated successfully, but these errors were encountered: