Patch attached. This patch adds a new method: protected StringBuffer buildEmailBody() This method makes it easier for subclasses to customize the email message body.
Created attachment 23598 [details] patch for SMTPAppender.java
Having a method return StringBuffer was a little strange. I modified the name to String formatBody(). It will cause an extra StringBuffer allocation if encoding fails, but that is an edge case. Committed in rev 773775.