|
|
|
@ -1473,16 +1473,16 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeTDExt
|
|
|
|
|
mb.DESCRIPTION = "";
|
|
|
|
|
}
|
|
|
|
|
mb.DESCRIPTION = mb.DESCRIPTION.Replace("\r\n", "<br>");
|
|
|
|
|
var mailtopic = "大简云工作平台询价:" + mb.COMNAME + "" + mb.XJNO + "" + mb.USERNAME;
|
|
|
|
|
var mailtopic = "济舱海平台询价:" + mb.COMNAME + "" + mb.XJNO + "" + mb.USERNAME;
|
|
|
|
|
var mailbody = "起运港:" + mb.PORTLOAD + "<br>" + "目的港:" + mb.PORTDISCHARGE + "<br>" + "箱型箱量:" + ctnall
|
|
|
|
|
+ "<br>" + "船期:" + covertDatetimeToYMD(mb.ETD) + "<br>" + "品名:" + mb.DESCRIPTION + "<br>" + "要求免箱使天数:" + mb.FREEDAYS + "<br>" + "询价有效期:" + BasicDataRefDAL.FormatDatetime(mb.YOUXIAOQI, "yyyy-MM-dd HH:mm:ss") + "<br> 询价人电话:" + mb.MOBILE
|
|
|
|
|
+ "<br>" + "询价人邮箱:" + mb.EMAIL+"<br>备注:"+mb.XJBEIZHU;
|
|
|
|
|
mailbody += "<br>" + "<br><b style=\"color:blue\">该询价通过大简云工作平台发送,请您及时回复。</b><br><a target=\"_blank\" rel=\"noopener\" href=\"http:\\\\www.myshipping.net\">www.myshipping.net</a>";
|
|
|
|
|
mailbody += "<br>" + "<br><b style=\"color:blue\">该询价通过济舱海平台发送,请您及时回复。</b><br><a target=\"_blank\" rel=\"noopener\" href=\"http:\\\\www.myshipping.net\">www.myshipping.net</a>";
|
|
|
|
|
var userlist = MsBaseInfoDAL.MsBaseInfoDAL.GetUserBaseList("USERID in (" + hdUsers + ")");
|
|
|
|
|
foreach (var user in userlist)
|
|
|
|
|
{
|
|
|
|
|
var email = user.EMAIL1;
|
|
|
|
|
SendEmail se = new SendEmail(email, "dongshengcangdan@h8j.top", "", "大简云工作平台", mailtopic, mailbody, true);
|
|
|
|
|
SendEmail se = new SendEmail(email, "dongshengcangdan@h8j.top", "", "济舱海平台", mailtopic, mailbody, true);
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
@ -2047,10 +2047,10 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeTDExt
|
|
|
|
|
|
|
|
|
|
var mailbody = "业务编号:" + mb.XJNO + "<br>" + "起运港:" + mb.PORTLOAD + "<br>" + "目的港:" + mb.PORTDISCHARGE
|
|
|
|
|
+ "<br>" + "开船日期:" + mb.ETD + "<br>" + "联系人电话:" + mb.MOBILE + "<br>" + "联系人邮箱:" + mb.EMAIL1 + "<br>备注:"+mb.XJBEIZHU;
|
|
|
|
|
mailbody += "<br>" + "<br><b style=\"color:blue\">该询价通过大简云工作平台发送。</b><br><a target=\"_blank\" rel=\"noopener\" href=\"http:\\\\www.myshipping.net\">www.myshipping.net</a>";
|
|
|
|
|
mailbody += "<br>" + "<br><b style=\"color:blue\">该询价通过济舱海平台发送。</b><br><a target=\"_blank\" rel=\"noopener\" href=\"http:\\\\www.myshipping.net\">www.myshipping.net</a>";
|
|
|
|
|
|
|
|
|
|
var email = mb.EMAILTO;
|
|
|
|
|
SendEmail se = new SendEmail(email, "dongshengcangdan@h8j.top", "", "大简云工作平台", mailtopic, bodyPart1 + "<br>"+ mailbody, true);
|
|
|
|
|
SendEmail se = new SendEmail(email, "dongshengcangdan@h8j.top", "", "济舱海平台", mailtopic, bodyPart1 + "<br>"+ mailbody, true);
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|