gpepe / esp8266-sendemail

Send email with esp8266 arduino.
20 stars 14 forks source link

Allow sending of HTML formatted mails #3

Open inc90 opened 5 years ago

inc90 commented 5 years ago

Hi

I am using your library for a small project, it works well. I then wanted to send HTML formatted mail and found that it did not work as expected. I added a second function called SendEmail::send_html which sets the MIME headers appropriately so that the HTML is interpreted correctly at the receiving end. As I'm not a C++ programmer it's probably a dreadful hack, but it does work.

Would you consider adding this functionality to your library, possibly in a better fashion?

Best regards, Muiris. SendEmail.cpp.zip