pyramid_mailer and html email

9 views
Skip to first unread message

Jonathan Vanasco

unread,
Jun 22, 2018, 6:55:54 PM6/22/18
to pylons-discuss
I've been lazy and just implemeted html email via pyramid_mailer as quoted-printable

    email_html = Attachment(data=email_html, disposition='inline', transfer_encoding='quoted-printable')

i realized the pyramid_mailer encoders don't implement any of the email quirks for old RFCs and clients:

* lines about 76/78 chars long; never more than 998 chars long
* encode whitespace

has anyone not followed those rules and had deliverability issues?

does anyone have a simple tool/function for encoding a string to the older formats i can leverage?
Reply all
Reply to author
Forward
0 new messages