All Questions
2 questions
0
votes
1
answer
842
views
How to return an image object in django http response?
I am sending emails containing images. I am using html templates for these emails. I want the images to be generated on the fly. Hence, the 'src' in the image tag is a url that makes a REST api call ...
5
votes
2
answers
10k
views
MIMEImage not showing in email body / Trying to embed image in email
I am trying to embed an image in an email. I have followed examples here, here and here and others however I cannot get the image to display.
import smtplib
import os
from email.mime....