I have build a similar class some years ago, (the code actually was based on your previous article).
I dont have the problem with the order of the calls to my setHTMLPart and setTextPart, as i store the content in a variable and wait until I call send to build the mime.
Furthermore I have placed the raw HTML in som constants, which in my opinion is far more easy to maintain, if you dont have time in the project to make configuration documents.
I have build a similar class some years ago, (the code actually was based on your previous article).
I dont have the problem with the order of the calls to my setHTMLPart and setTextPart, as i store the content in a variable and wait until I call send to build the mime.
Furthermore I have placed the raw HTML in som constants, which in my opinion is far more easy to maintain, if you dont have time in the project to make configuration documents.