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?
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