public EmailResult TypedEmail(EmailModel model)
        {
            From = "*****@*****.**";
            To.Add(model.EmailAddress);
            Subject = string.Format("Thanks {0} for your purchases", model.BirthName);

            return Email("TypedEmail", model);
        }
        public ActionResult SendTypedEmail()
        {
            var model = new EmailModel
            {
                Title = "Mr",
                BirthName = "Phil",
                FamilyName = "Jones",
                EmailAddress = "*****@*****.**",
                PurchasedItems = new List<EmailModel.Item>
                {
                    new EmailModel.Item { Quantity = 2, Product = "Foo", Price = (decimal) 12.99 },
                    new EmailModel.Item { Quantity = 10, Product = "Bar", Price = (decimal) 24.99 }
                }
            };

            new EmailController().TypedEmail(model).Deliver();

            return View("Index");
        }