Skip to content

Send exceptions using quoted-printable encoding to avoid line length limits #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jasonhildebrand
Copy link
Contributor

Finally completed porting our first app to python3 and deployed it on w4py3! Generally all is working well. I am still learning more and more minor differences with Python 3 and fixing up my app code.

One issue I discovered in Webware is that some error messages are not getting through. This was due to max line limits in SMTP which is server-dependent but typically not more than 1000 bytes per line.

I made this change to encode emails using quoted-printable encoding which is still readable (unlike base64) but will automatically split long lines without impacting the HTML content.

@Cito
Copy link
Member

Cito commented Nov 26, 2021

Nice, looks good to me!

@Cito Cito merged commit db7595e into WebwareForPython:master Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants