Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If charset is not specified when calling `encode_mimewords`, it uses `ISO-8859-1` as default value, which may not be the correct encoding for the strings. This commit extracts the charset from `Content-Type` header and uses it in `encode_mimewords` call.
- Loading branch information