$scope.respuesta={texto:"enviando..."};
    $scope.data = {
        to : "alex.lnn@hotmail.com, rockanalex@gmail.com",
        subject : "HTML email",
        headers : "MIME-Version: 1.0"+"\r\n"+"Content-type:text/html;charset=UTF-8"+"\r\n"+'From: <webmaster@genniux.net>'+"\r\n"+'Cc: alex.lnn@hotmail.com'+"\r\n"
    }
    var req = {
      method: 'POST',
      url: "https://genniux.net/app/mailer/recibir",
      headers: {
        'Content-Type': undefined
      },
      data: {
        obj:$scope.data

      }
    }
    $scope.enviar=function(){
      $http(req).then(function(d){
        console.log(d);
        $scope.respuesta=d.data;
      });
    }