Display an attached image on the HTML message
问题 I have develop a function in PYTHON that sends emails with one .doc attachment and one image attachment (.jpg) The message of the email is HTML. I want to know how to display the Attached Image on the HTML message....is there any instruction that can help me with this??? Thanks a lot.... Here is the function I developed def enviarCorreo(fromaddr, toaddr, text, file, imagen_1, imagen_2): msg = MIMEMultipart('mixed') msg['From'] = fromaddr msg['To'] = toaddr msg['Subject'] = 'asunto' msg.attach