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;
|
m_subject = subject;
|
||||||
StringBuffer sb = new StringBuffer("<HTML>\n")
|
StringBuffer sb = new StringBuffer("<HTML>\n")
|
||||||
.append("<HEAD>\n")
|
.append("<HEAD>\n")
|
||||||
.append("<TITLE>\n")
|
.append("<TITLE>\n")
|
||||||
.append(subject + "\n")
|
.append(subject + "\n")
|
||||||
.append("</TITLE>\n")
|
.append("</TITLE>\n")
|
||||||
.append("</HEAD>\n");
|
.append("</HEAD>\n");
|
||||||
sb.append("<BODY>\n")
|
sb.append("<BODY>\n")
|
||||||
.append("<H2>" + subject + "</H2>" + "\n")
|
.append(message)
|
||||||
.append(message)
|
.append("\n")
|
||||||
.append("\n")
|
.append("</BODY>\n");
|
||||||
.append("</BODY>\n");
|
|
||||||
sb.append("</HTML>\n");
|
sb.append("</HTML>\n");
|
||||||
m_messageHTML = sb.toString();
|
m_messageHTML = sb.toString();
|
||||||
} // setMessageHTML
|
} // setMessageHTML
|
||||||
|
|
Loading…
Reference in New Issue