Fix a bug where incoming unicode emails caused logging errors.
The stupid Python stdlib logging module doesn't handle unicode at all. If debugging is turned on, and SAFELOGGING is disabled, the incoming emails are logged. If they have any unicode characters, processing of the emails stops due to UnicodeDecodeErrors.
Please register or sign in to comment