public virtual MailMessage BestOfferCustomer(string mailTo, BestOfferEmailTemplateViewModel model) { var mailMessage = new MailMessage { Subject = "Best offer confirmation from JewelryONet.com" }; mailMessage.To.Add(mailTo); mailMessage.From = serviceSender; mailMessage = ToSendACopyOfThisMailToSystemAddBCCFields(mailMessage); ViewData = new ViewDataDictionary<BestOfferEmailTemplateViewModel>(model); PopulateBody(mailMessage, "BestOfferCustomer"); return mailMessage; }
public virtual MailMessage BestOfferAdmin(string mailTo, BestOfferEmailTemplateViewModel model) { return BestOfferCustomer(mailTo, model); }