private string BuildClosingContents(string legalBrand, string legalPhone,
string legalURL, string transText, string instructText, MyMail.Setting emailConfig)
{
StringBuilder sbHTML = new StringBuilder();
sbHTML.AppendLine(\"
if (emailConfig.Mode == \"Q\")
{
sbHTML.AppendLine(\"Please call me on \" + legalPhone + \" and we will arrange \");
sbHTML.AppendLine(\"everything for you. Please have your ticket details to hand \");
sbHTML.AppendLine(\"and your \" + instructText + \" will be required. In the meantime if you have any questions \");
sbHTML.AppendLine(\"please do not hesitate to call me.\");
sbHTML.AppendLine(\"
\");
}
else
{
sbHTML.AppendLine(\"If you have any queries relating to your quote \" + transText + \" please do not hesitate \");
sbHTML.AppendLine(\"to contact your conveyancer or me.\");
sbHTML.AppendLine(\"
\");
}
// Signature + branding
sbHTML.AppendLine(\"Yours sincerely\");
sbHTML.AppendLine(\"
\");
sbHTML.AppendLine(\"
\");
//sbHTML.AppendLine(legalBrand + \" Services
\");
sbHTML.AppendLine(\"
// Return the closing content
return sbHTML.ToString();
}
这是一个用于构建邮件关闭部分的函数,根据不同的模式(Q模式)生成不同的结束语。如果模式为'Q',则会包含电话联系和提供票务详情的要求。否则,会提示在查询报价时联系相关人员。
3万+

被折叠的 条评论
为什么被折叠?



