adds decoding to html email

This commit is contained in:
pbrln 2024-02-08 00:14:35 +01:00
parent b10754ca7f
commit 801b54bc32
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class CustomHandler:
else:
plaintext += part.get_payload(decode=True).decode('utf-8')
elif part.get_content_type() == 'text/html':
html += part.get_payload()
html += part.get_payload().get_payload(decode=True).decode('utf-8')
else:
att = self.handleAttachment(part)
if(att == False):