/**
* 获取邮件标题。
* @param packingListNum PL.NO(箱单号)
* @return String 邮件标题。
*/
private String getMailSubject(String packingListNum)
{
StringBuilder strBui = new StringBuilder();
strBui.append("Pls receive: Software Delivery List for ")
.append(packingListNum)
.append(".");
return strBui.toString();
}
/**
* 获取邮件正文。
* @param packingListNum PL.NO(箱单号)
* @return String 邮件正文。
*/
private String getMailContent(String packingListNum)
{
StringBuilder strBui = new StringBuilder();
strBui.append("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n")
.append("<html>\n")
.append("<head>\n")
.append("<title>support</title>\n")
.append("<meta http-equiv=\"description\" content=\"support\">\n")
.append("<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n")
* 获取邮件标题。
* @param packingListNum PL.NO(箱单号)
* @return String 邮件标题。
*/
private String getMailSubject(String packingListNum)
{
StringBuilder strBui = new StringBuilder();
strBui.append("Pls receive: Software Delivery List for ")
.append(packingListNum)
.append(".");
return strBui.toString();
}
/**
* 获取邮件正文。
* @param packingListNum PL.NO(箱单号)
* @return String 邮件正文。
*/
private String getMailContent(String packingListNum)
{
StringBuilder strBui = new StringBuilder();
strBui.append("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n")
.append("<html>\n")
.append("<head>\n")
.append("<title>support</title>\n")
.append("<meta http-equiv=\"description\" content=\"support\">\n")
.append("<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n")