HTML Email - do not repeat subject in message body.
This commit is contained in:
parent
16c60adc49
commit
2fcdbafd6d
|
@ -757,16 +757,15 @@ public final class EMail implements Serializable
|
|||
{
|
||||
m_subject = subject;
|
||||
StringBuffer sb = new StringBuffer("<HTML>\n")
|
||||
.append("<HEAD>\n")
|
||||
.append("<TITLE>\n")
|
||||
.append(subject + "\n")
|
||||
.append("</TITLE>\n")
|
||||
.append("</HEAD>\n");
|
||||
sb.append("<BODY>\n")
|
||||
.append("<H2>" + subject + "</H2>" + "\n")
|
||||
.append(message)
|
||||
.append("\n")
|
||||
.append("</BODY>\n");
|
||||
.append("<HEAD>\n")
|
||||
.append("<TITLE>\n")
|
||||
.append(subject + "\n")
|
||||
.append("</TITLE>\n")
|
||||
.append("</HEAD>\n");
|
||||
sb.append("<BODY>\n")
|
||||
.append(message)
|
||||
.append("\n")
|
||||
.append("</BODY>\n");
|
||||
sb.append("</HTML>\n");
|
||||
m_messageHTML = sb.toString();
|
||||
} // setMessageHTML
|
||||
|
|
Loading…
Reference in New Issue