Apr-05-2019, 03:59 PM
Here's what you do currently:
part1 = MIMEText(text, 'plain') part2 = MIMEText(html, 'html') msg.attach(part1) msg.attach(part2)Don't attach part1, so the only content on the email is the html content.