public HttpResponseMessage SendComplaint(string messageId = "1111", string mailingId = "1111", string address="*****@*****.**")
        {
            var complaint = new Complaint
            {
                DateTime = DateTime.Now,
                MailingId = mailingId,
                MessageId = messageId,
                Address = address,
                ServerId = ServerId,
                SecretKey = SecretKey,
                Length = 1000,
                From = "*****@*****.**",
                To = "*****@*****.**",
                UserAgent = "Complaint Processor (example.com)"
            };

            return _client.PostAsync("/api/EmailEvent/", complaint.ToEncodedContent()).Result;
        }
 private void OnComplaint(Complaint model)
 {
     Console.WriteLine(model.ToString());
 }