Browse Source

未登入 訂單處理中信件樣式開發

Dev
Janie 2 years ago
parent
commit
a28fd4a1cf
  1. BIN
      EuroTran/.vs/Eurotran/v16/.suo
  2. 49
      EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMail.cs

BIN
EuroTran/.vs/Eurotran/v16/.suo

49
EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMail.cs

@ -2034,6 +2034,55 @@ namespace EasyBL.WEBAPP.SYS
}
//未登入 訂單處理中
public string BookingProcessing_NoLogin(string Name)
{
StringBuilder sb = new StringBuilder();
EmailTemplate_CH mailTemplate = new EmailTemplate_CH();
// var Server = Common.ConfigGetValue("", "ida:RedirectUri");
sb.Append(mailTemplate.MailHeader());
sb.Append(mailTemplate.MailCSS());
sb.Append(mailTemplate.MailShowEasyLogo());
//Email Body
sb.Append("<tr>");
sb.Append("<td style = \"padding: 0 50px 0 50px; background-color: #f8f8f8\" class=\"sm-p bar\">");
sb.Append("<table border=\"0\" cellspacing=\"0\" role=\"presentation\" style=\"width: 100%\">");
sb.Append("<tr>");
sb.Append("<td>");
sb.Append("<table border = \"0\" cellpadding = \"0\" cellspacing = \"0\" role = \"presentation\" align = \"left\"> ");
//Text:您好,Janie,
sb.Append("<tr>");
sb.Append("<td bgcolor = \"#FEFEFE\" width = \"340\" style = \"display: block;padding-top: 30px;padding-left: 30px;padding-right: 30px;adding-bottom: 10px;font-family: arial, sans-serif;color: #000000;text-align: left\";>");
sb.Append("<h1 style = \"font-family: 'arial', 'sans-serif'; font-weight: 700; font-size: 16px; line-height: 18px; color: #000000; margin: 0 0 0 0;\">");
//sb.Append("你好," + Name + ",");
sb.Append("</h1>");
sb.Append("</td>");
sb.Append("</tr>");
//Text:我們已經成功收到你的付款!
sb.Append("<tr>");
sb.Append("<td bgcolor = \"#FEFEFE\" width = \"340\" style = \"display: block;padding-top: 10px;padding-left: 30px;padding-right: 30px;padding-bottom: 30px;font-family: arial, sans-serif;color: #000000;text-align: left;\">");
sb.Append("<p style = \"font-weight: 400;font-size: 12px;line-height: 14px;letter-spacing: 0.02em;font-family: 'arial', 'sans-serif';margin: 0 0 0px;\" class=\"has-markdown\">");
sb.Append("你的訂單正在處理中囉!<br />");
sb.Append("如有任何問題歡迎直接與我們聯繫。");
sb.Append("</p>");
sb.Append("</td>");
sb.Append("</tr>");
sb.Append("</table>");
sb.Append("</td>");
sb.Append("</tr>");
sb.Append("</table>");
sb.Append("</td>");
sb.Append("</tr>");
//sb.Append(mailTemplate.MailButtom());
sb.Append(mailTemplate.MailFooter());
return sb.ToString();
}
}
}
Loading…
Cancel
Save