From 4b63b3aa6eb054218188ada5fc6ae49d9ee7287d Mon Sep 17 00:00:00 2001 From: Scott King Date: Fri, 1 Apr 2016 16:36:02 -0600 Subject: [PATCH] Update envelope.py MIMEMultipart('alternative') to MIMEMultipart('mixed') - this fixes #25 and #27 --- envelopes/envelope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envelopes/envelope.py b/envelopes/envelope.py index fbadf16..bc7e928 100644 --- a/envelopes/envelope.py +++ b/envelopes/envelope.py @@ -273,7 +273,7 @@ def _encoded(self, _str): def to_mime_message(self): """Returns the envelope as :py:class:`email.mime.multipart.MIMEMultipart`.""" - msg = MIMEMultipart('alternative') + msg = MIMEMultipart('mixed') msg['Subject'] = self._header(self._subject or '') msg['From'] = self._encoded(self._addrs_to_header([self._from]))