Answer the question
In order to leave comments, you need to log in
Flask Cyrillic (not all) leads to bad header error?
The presence of more than 20 Cyrillic characters in the subject leads to an error in sending an email with the wording bad header error (the presence of a line break character). It's as if something processing and encoding the subject in flaske breaks it apart after a certain number of characters. Has anyone come across? How did they decide?
Answer the question
In order to leave comments, you need to log in
.encode("utf-8") / .decode("utf-8") don't help? Specifically, I did not come across flask-mail.
https://github.com/mattupstate/flask-mail/blob/mas...
You need to look at a specific line and where the line break comes from.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question