private void Send(ContactViewModel model)
        {
            var api = new MandrillApi("IRWMe1g1dCTrG6uOZEy7gQ");
            var message = new MandrillMessage();
            message.FromEmail = "*****@*****.**";
            message.AddTo("*****@*****.**");
            message.ReplyTo = "*****@*****.**";
            //supports merge var content as string

            message.AddGlobalMergeVars("EMAIL", model.Email);
            message.AddGlobalMergeVars("MESSAGE", model.Message);
            var result = api.Messages.SendTemplate(message, "jarboo-contact-form");
        }
 public ActionResult Contact(ContactViewModel model)
 {
     if (ModelState.IsValid)
     {
         //var result = MandrillSendExtension.customSend(model, MandrillTemplates.Invoice);
         Send(model);
         model.Status = "The message is sent.";
         return RedirectToAction("ThankYou");
     }
     
     return View(model);
 }