예제 #1
0
        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;
        }
예제 #2
0
 public virtual MailMessage BestOfferAdmin(string mailTo, BestOfferEmailTemplateViewModel model)
 {
     return BestOfferCustomer(mailTo, model);
 }