Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HeaderParseError #224

Open
SamoilenkoLev opened this issue Feb 20, 2020 · 0 comments
Open

HeaderParseError #224

SamoilenkoLev opened this issue Feb 20, 2020 · 0 comments
Labels

Comments

@SamoilenkoLev
Copy link

Hello!
django-mailbox==4.8.1

File "/home/buht/docob/doc/emails/management/commands/get_new_email.py", line 65, in handle
for message in messages:
File "/home/buht/docob/local/lib/python2.7/site-packages/django_mailbox/models.py", line 414, in get_new_mail
msg = self.process_incoming_message(message)
File "/home/buht/docob/local/lib/python2.7/site-packages/django_mailbox/models.py", line 230, in process_incoming_message
msg = self._process_message(message)
File "/home/buht/docob/local/lib/python2.7/site-packages/django_mailbox/models.py", line 356, in _process_message
utils.convert_header_to_unicode(message['subject'])[0:255]
File "/home/buht/docob/local/lib/python2.7/site-packages/django_mailbox/utils.py", line 93, in convert_header_to_unicode
) for bytestr, encoding in email.header.decode_header(header)
File "/usr/lib/python2.7/email/header.py", line 108, in decode_header
raise HeaderParseError
HeaderParseError

@pfouque pfouque added the bug label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants