コード例 #1
0
        public async Task <ActionResult> EmailReceiverAsync(EmailReceverViewModel emailRecever)
        {
            //if(!ModelState.IsValid)
            //{

            //}
            EmailLogic email = new EmailLogic();

            await email.EmailReceiverAsync(emailRecever.From, emailRecever.Subject, emailRecever.Body);


            return(View("Success"));
        }