|
|
@ -330,7 +330,26 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
sb.Append("</table>"); |
|
|
|
sb.Append("</td>"); |
|
|
|
sb.Append("</tr>"); |
|
|
|
sb.Append(mailTemplate.MailButtom()); |
|
|
|
//If the button isn't working, you can click
|
|
|
|
sb.Append("<tr>"); |
|
|
|
sb.Append("<td bgcolor = \"#FEFEFE\" width = \"340\" width = \"340px\" style = \"display: block;padding-bottom: 30px;padding-top: 30px;padding-left: 30px;padding-right: 30px;color: #9c9c9c;text-align: center;\">"); |
|
|
|
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("如果按鈕無法點擊,你可以直接點擊"); |
|
|
|
sb.Append("<a href =\""); |
|
|
|
sb.Append(Server + "/api/Signup/VerifyAccount?OrgID=" + OrgID + "&MemberID=" + MemberID); |
|
|
|
sb.Append("\" style = \"color: #7997ff;font-size: 12px;font-weight: 400;font-family: 'Arial', '微軟正黑體','Microsoft JhengHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;padding: 0;margin: 0;text-align: center;padding-left: 0px;padding-right: 30px;padding-top: 4px;text-decoration: underline;\">"); |
|
|
|
sb.Append("<span align=\"center\" width=\"340\">這裡</span>"); |
|
|
|
sb.Append("</a>"); |
|
|
|
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(); |
|
|
@ -490,7 +509,26 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
sb.Append("</table>"); |
|
|
|
sb.Append("</td>"); |
|
|
|
sb.Append("</tr>"); |
|
|
|
sb.Append(mailTemplate.MailButtom()); |
|
|
|
//If the button isn't working, you can click
|
|
|
|
sb.Append("<tr>"); |
|
|
|
sb.Append("<td bgcolor = \"#FEFEFE\" width = \"340\" width = \"340px\" style = \"display: block;padding-bottom: 30px;padding-top: 30px;padding-left: 30px;padding-right: 30px;color: #9c9c9c;text-align: center;\">"); |
|
|
|
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("如果按鈕無法點擊,你可以直接點擊"); |
|
|
|
sb.Append("<a href =\""); |
|
|
|
sb.Append(Server + "/api/Signup/ResetPage?Email=" + Email); |
|
|
|
sb.Append("\" style = \"color: #7997ff;font-size: 12px;font-weight: 400;font-family: 'Arial', '微軟正黑體','Microsoft JhengHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;padding: 0;margin: 0;text-align: center;padding-left: 0px;padding-right: 30px;padding-top: 4px;text-decoration: underline;\">"); |
|
|
|
sb.Append("<span align=\"center\" width=\"340\">這裡</span>"); |
|
|
|
sb.Append("</a>"); |
|
|
|
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(); |
|
|
@ -616,20 +654,37 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
sb.Append("下次登入ShowEasy時記得使用新的密碼喔!<br />"); |
|
|
|
//sb.Append("SowEasy account!<br />");
|
|
|
|
sb.Append("<br />"); |
|
|
|
sb.Append("咦? 我不記得有變更密碼啊!<br />"); |
|
|
|
sb.Append("<span style=\"color: #f48800;text-decoration: underline;\">點這裡</span>了解如何恢復您的帳戶</br>"); |
|
|
|
sb.Append("如有遇到任何問題請直接與我們聯繫。<br />"); |
|
|
|
sb.Append("</p>"); |
|
|
|
sb.Append("</td>"); |
|
|
|
sb.Append("</tr>"); |
|
|
|
sb.Append("<tr>"); |
|
|
|
sb.Append("<td bgcolor = \"#FEFEFE\" width = \"340\" style = \"display: block;padding-top: 10px;padding-left: 30px;padding-right: 30px;font-family: arial, sans-serif;color: #000000;text-align: left;\">"); |
|
|
|
sb.Append("<img style = \"display:inline-block;\" src = \"https://d3kpqi6h465b7i.cloudfront.net/email/phone.png\" width = \"18\" height = \"18\"/>"); |
|
|
|
sb.Append("<span style = \"display: inline-block;font-weight: 400;font-size: 14px;line-height: 18px;letter-spacing: 0.02em;font-family: 'arial', 'sans-serif';margin: 0 0 0px;\" class=\"has-markdown\">"); |
|
|
|
sb.Append("886-2-2725-5000"); |
|
|
|
sb.Append("</span>"); |
|
|
|
sb.Append("</td>"); |
|
|
|
sb.Append("</tr>"); |
|
|
|
sb.Append("<tr>"); |
|
|
|
sb.Append("<td bgcolor = \"#FEFEFE\" width = \"340\" style = \"display: block;padding-top: 10px;padding-left: 30px;padding-bottom: 30px;padding-right: 30px;font-family: arial, sans-serif;color: #000000;text-align: left;\">"); |
|
|
|
sb.Append("<img style = \"display:inline-block;\" src = \"https://d3kpqi6h465b7i.cloudfront.net/email/mail.png\" width = \"18\" height = \"18\"/>"); |
|
|
|
sb.Append("<span style = \"display: inline-block;font-weight: 400;font-size: 14px;line-height: 18px;letter-spacing: 0.02em;font-family: 'arial', 'sans-serif';margin: 0 0 0px;\" class=\"has-markdown\">"); |
|
|
|
sb.Append("info@showeasy.com"); |
|
|
|
sb.Append("</span>"); |
|
|
|
sb.Append("</td>"); |
|
|
|
sb.Append("</tr>"); |
|
|
|
sb.Append("</tr>"); |
|
|
|
sb.Append("</table>"); |
|
|
|
sb.Append("</td>"); |
|
|
|
sb.Append("</tr>"); |
|
|
|
sb.Append(mailTemplate.MailButtom()); |
|
|
|
sb.Append(mailTemplate.MailFooter()); |
|
|
|
|
|
|
|
return sb.ToString(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
//Send Password Change Mail Template
|
|
|
|
//CompleteRegistration Mail Template
|
|
|
|
private string CompleteRegistration_Mail(string FirstName) |
|
|
|
{ |
|
|
|
|
|
|
@ -703,7 +758,25 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
sb.Append("</table>"); |
|
|
|
sb.Append("</td>"); |
|
|
|
sb.Append("</tr>"); |
|
|
|
sb.Append(mailTemplate.MailButtom()); |
|
|
|
//If the button isn't working, you can click
|
|
|
|
sb.Append("<tr>"); |
|
|
|
sb.Append("<td bgcolor = \"#FEFEFE\" width = \"340\" width = \"340px\" style = \"display: block;padding-bottom: 30px;padding-top: 30px;padding-left: 30px;padding-right: 30px;color: #9c9c9c;text-align: center;\">"); |
|
|
|
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("如果按鈕無法點擊,你可以直接點擊"); |
|
|
|
sb.Append("<a href =\"https://www.showeasy.com\""); |
|
|
|
sb.Append(" style = \"color: #7997ff;font-size: 12px;font-weight: 400;font-family: 'Arial', '微軟正黑體','Microsoft JhengHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;padding: 0;margin: 0;text-align: center;padding-left: 0px;padding-right: 30px;padding-top: 4px;text-decoration: underline;\">"); |
|
|
|
sb.Append("<span align=\"center\" width=\"340\">這裡</span>"); |
|
|
|
sb.Append("</a>"); |
|
|
|
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(); |
|
|
|