Email inbox fetch error

"pymysql.err.InternalError: (1366, “Incorrect string value: ‘\xE1tico,…’ for column _1bd3e0294da19198 . tabUnhandled Email . raw at row 1”)
"

An email you received is 4-byte encoded while your database is possibly set to accept a maximum 3-byte encoding? So you need to set your database to accept utf8mb4.

Check these:

https://dev.mysql.com/doc/refman/5.5/en/charset-unicode-utf8mb4.html

This other thread should help too

1 Like