예제 #1
0
        public void TestSendEmailAsync()
        {
            var emailService = new EmailService.Services.EmailService(Options.Create(_setting));
            Task <HttpResponseMessage> sendEmailAsync = emailService.SendEmailAsync(email);

            Assert.IsNotNull(sendEmailAsync);
        }
예제 #2
0
        public void TestSendEmailAsyncOtherEmailType()
        {
            email.EmailType = "EmailResetPassword";
            var emailService = new EmailService.Services.EmailService(Options.Create(_setting));
            Task <HttpResponseMessage> sendEmailAsync = emailService.SendEmailAsync(email);

            Assert.IsNotNull(sendEmailAsync);
        }