Error while trying to send email for password reset

22 views
Skip to first unread message

sunday honesty

unread,
May 24, 2020, 11:39:18 AM5/24/20
to Django users
I got the following error while trying to send email with send grid smtp

UnicodeEncodeError: 'ascii' codec can't encode character '\u2020' in
position 168: ordinal not in range(128)

Vishesh Mangla

unread,
May 24, 2020, 10:49:53 PM5/24/20
to django...@googlegroups.com

\u...    represents a Unicode character and you are using an ascii-decoder to decode it.Consider using encoding=”utf-8”.

 

Sent from Mail for Windows 10

--

You received this message because you are subscribed to the Google Groups "Django users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e3baf159-4247-413a-89cf-7c1993aee2b1%40googlegroups.com.

 

Reply all
Reply to author
Forward
0 new messages