//发送产生账单邮件 private int ReserveSendByEmail(DBMA1DataContext dbma1, string sellerUserSN, string assetsSN) { string subject = "【凡奇金融】资产预约"; string content = string.Format("亲爱的凡奇用户,您的资产({0})已经被预约,请您查看。", assetsSN); return(C101.FC10105(dbma1, sellerUserSN, subject, content)); }
//预约发送邮件提醒 private int SendByEmail(DBMA1DataContext dbma1, string financierSN, string crSN) { string subject = "【凡奇金融】债权预约"; string content = string.Format("亲爱的凡奇用户,您的债权({0})已经被预约,请您查看。", crSN); return(C101.FC10105(dbma1, financierSN, subject, content)); }
//发送预约邮箱提醒 private int SendByEmail(DBMA1DataContext dbma1, string consultantUserSN, string investorUserSN) { string subject = "【凡奇金融】顾问预约"; string content = string.Format("亲爱的凡奇用户,您已经被用户{0}预约,请您查看。", investorUserSN); return(C101.FC10105(dbma1, consultantUserSN, subject, content)); }
//发送预约邮件提醒 private int SendByEmail(DBMA1DataContext dbma1, string investorUserSN, string crSN) { string subject = "【凡奇金融】债权预约"; string content = string.Format("亲爱的凡奇用户,您已经被融资方预约,债权编号为({0}),请您查看。", crSN); return(C101.FC10105(dbma1, investorUserSN, subject, content)); }
//发送产生账单邮件 private int SendBillEmail(DBMA1DataContext dbma1, string financierSN, string crSN, string billSN, decimal billMoneyAmount) { //获得账单逾期时间 int needPayDays = Convert.ToInt32(dbma1.A028s.First().needPayDays); string subject = "【凡奇金融】账单提醒"; string content = string.Format("亲爱的凡奇用户,您的债权({0})已经被投资并且产生账单,账单号为{1},金额为{2}。请您在{3}天内付款,不然将产生罚息。", crSN, billSN, billMoneyAmount, needPayDays); return(C101.FC10105(dbma1, financierSN, subject, content)); }