Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion inbox/sendmail/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
from flanker.addresslib import address
from flanker.addresslib.quote import smart_quote
from flanker.mime.message.headers.encoding import encode_string
from flanker.addresslib.parser import MAX_ADDRESS_LENGTH
try:
from flanker.addresslib.parser import MAX_ADDRESS_LENGTH
except:
from flanker.addresslib.address import MAX_ADDRESS_LENGTH
from html2text import html2text

VERSION = pkg_resources.get_distribution('inbox-sync').version
Expand Down