Hi There, I have upgraded web2py to the most recent version from 2024.09.something.
I use a the subject 'Kétlépcsős azonosító kód' for 2 factor auth in my local language. The former version worked as expected. But, after the upgrade, the framework throws a warning: WARNING:web2py:Mail.send failure:'ascii' codec can't encode character '\\xe9' in position 208: ordinal not in range(128) And, the email is not sent at all. I fixed the issue modifying gluon/tools.py:825 --- payload["Subject"] = subject +++ payload["Subject"] = encode_header(subject) I'm not sure this is the best solution, though. Would you please analyze? Thank you, Zoltán -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/web2py/22eb5d5d-2b4d-420e-9ef6-2f0c255a5a99n%40googlegroups.com.

