Trailing Equal Signs (=) In Emails
I download messages from a Gmail account using POP3 and save them in a SQLite database for futher processing: mailbox = poplib.POP3_SSL('pop.gmail.com', '995') mailbox.user(user)
Solution 1:
Frederic's link lead me to the answer. The encoding is called "quoted printable" (wiki) and it's possible to decode it using the quopri
Python module (documentation):
msg.decode('quopri').decode('utf-8')
Post a Comment for "Trailing Equal Signs (=) In Emails"