protected void btnSendPassword_Click(object sender, EventArgs e)
    {
        TextBox txtEmail = (TextBox)FindControl("txtEmail");

        Label lblInfo = (Label)FindControl("lblInfo");

        try
        {
            if (BSHelper.CheckEmail(txtEmail.Text) & BSUser.ValidateEmail(txtEmail.Text))
            {
                BSUser user = BSUser.GetUserByEmail(txtEmail.Text);

                string strNewPassword = BSHelper.GetRandomStr(8);
                string strMessage     = Language.Get["YourNewPassword"].Replace("%", strNewPassword);
                string strMail        = Blogsa.Settings["admin_email"].Value;

                user.Password = BSHelper.GetMd5Hash(strNewPassword);
                user.Save();

                if (BSHelper.SendMail("Blogsa - Password Reminder", strMail, Blogsa.Settings[0].Value, user.Email, user.Name, strMail, true))
                {
                    lblInfo.Text = Language.Get["PasswordMailSend"];
                }
                else
                {
                    lblInfo.Text = "Mail not send! Please check your mail settings!";
                }
            }
            else
            {
                lblInfo.Text = Language.Get["ErrorMail"];
            }
        }
        catch (Exception ex)
        {
            lblInfo.Text = ex.Message;
        }
    }