Open
Description
@thinkingserious and other great package maintainers:
Inline image CID troubles!
I am able to successfully attach the PNG image. However, I cannot get it to appear inline in Gmail, Outlook, or iCloud. NOTE: Previews do show in Gmail and iCloud. But no previews in Outlook. As an aside, iCloud shows the image alt. The emails are sent successfully otherwise.
Mail obj dump
...
'content':
[{'type': 'text/html',
'value': '<h3> Forecast wape on scn unt qy by gtin no</h3><img src="cid:viz_0" alt="Inline picture of
Forecast wape on scn unt qy by gtin no"/>'}],
'attachments':
[{'content': '...', 'type': 'image/png',
'filename': '_Forecast_wape_on_scn_unt_qy_by_gtin_no.png', 'content_id': 'viz_0'}]}
...
I was following THIS documentation: https://sendgrid.com/blog/embedding-images-emails-facts/
Technical details:
- sendgrid-python version: latest 6.4.7
- python version: 3.7