diff --git a/pyquarantine/notifications.py b/pyquarantine/notifications.py index 278cc4f..6807f15 100644 --- a/pyquarantine/notifications.py +++ b/pyquarantine/notifications.py @@ -289,7 +289,7 @@ class EMailNotification(BaseNotification): # parse template htmltext = self.template.format_map(variables) - msg = MIMEMultipart('alternative') + msg = MIMEMultipart('related') msg["Subject"] = self.subject.format_map(variables) msg["From"] = "<{}>".format(self.from_header.format_map(variables)) msg["To"] = "<{}>".format(recipient)