public void SendCustomEmailToAddress() { var contact = new Contact() { id = 1, emailAddress = "*****@*****.**" }; var email = new Email() { name = "sample email", htmlContent = new RawHtmlContent() { html = "<html><head></head><body>test</body></html>", type = "RawHtmlContent" } }; var contacts = new List <Contact>(); contacts.Add(contact); var response = _emailClient.SendCustomEmailToAddress(contacts, email); Assert.IsNotNull(response); }