How can I send a plot.ly image inline of an html email using smtp?
问题 I'm automating a couple of bi-weekly reports so I've decided to use plot.ly to create a line plot. This line plot has a varying amount of traces depending on the report that is being run. I've been able to create plots successfully but none of the methods I've found have worked for displaying the plot inline in my email. Here is my code: SMTP_SERVER = "smtp.office365.com" SMTP_PORT = 587 SMTP_USERNAME = username SMTP_PASSWORD = password EMAIL_TO = email_to EMAIL_FROM = email_from #here we