public void SendResetPasswordEmail(string emailTo, Guid resetPasswordSecurity) { var mailFrom = new MailAddress("*****@*****.**", "Grasews"); var mail = _emailMessageService.CreateResetPasswordMessageMail(mailFrom, emailTo, resetPasswordSecurity); using (var smtp = CreateGmailSmtpClient()) { smtp.Send(mail); } }