예제 #1
0
        private void SendVerificationEmail(string newEmailAddress, User userToVerify)
        {
            string code = CreateEmailVerificationCode(newEmailAddress, userToVerify);

            string returnVerifyUrl = GenerateChangeEmailVerificationUrl(code);

            emailSendingService.SendChangeEmailPendingVerificationEmail(newEmailAddress, returnVerifyUrl);
        }