public static void Send(Email email)
        {
            var message = new MailMessage();
            message.To.Add(email.To);
            message.Subject = email.Subject;
            message.From = new MailAddress("*****@*****.**");
            message.Body = email.Body;

            var smtp = new SmtpClient("31.24.130.183", 25);
            // var smtp = new SmtpClient("smtp.altibox.no", 25);

            smtp.Send(message);
        }
 // POST api/mail
 public HttpResponseMessage Post(Email email)
 {
     try
     {
         MailSender.Send(email);
         HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.Created, email);
         return response;
     }
     catch (Exception ex)
     {
         return Request.CreateResponse(HttpStatusCode.BadRequest, ex.ToString());
     }
 }