private static async Task <MailgunMessage> TestMailgunClient() { var mailgunClientConfig = new MailgunClientConfig { ApiKey = MailgunClientConfig.ApiKey, SendingDomain = MailgunClientConfig.SendingDomain, RequireTls = true, SkipVerification = false }; var mailgunClient = new MailgunClient(mailgunClientConfig); var response = await mailgunClient.SendAsync(MailgunMessage); return(response); }