Exemplo n.º 1
0
        private void recoverySend_Click(object sender, EventArgs e)
        {
            string email = recoveryEmail.Text;

            if (GlobalItems.checkUserEmail(email))
            {
                GlobalItems.sendEmail(email);
                MessageBox.Show("Your new password has been send to your email");
            }
            else
            {
                MessageBox.Show("This email is not register in the system, Please enter correct email");
            }
        }