Revert to multipart/related

This commit is contained in:
Raphael Michel
2019-09-20 11:22:00 +02:00
parent ac1e69f2d8
commit ca0c0f4ae3

View File

@@ -378,7 +378,7 @@ def replace_images_with_cid_paths(body_html):
def attach_cid_images(msg, cid_images, verify_ssl=True):
if cid_images and len(cid_images) > 0:
msg.mixed_subtype = 'related'
msg.mixed_subtype = 'mixed'
for key, image in enumerate(cid_images):
cid = 'image_%s' % key
try: