public bool ResetPass(string Email)
        {
            Member members = new Member();
            members.Proc_SearchMembersByMail(Email);

            if (members.RowCount == 0)
                return false;

            string accounts = "";
            for (int i = 0; i < members.RowCount; i++)
            {
                accounts += string.Format("<li><a href='http://chat2connect.com/resetpass.aspx?rc={0}'>{1}</a></li>", Helper.General.EncryptString("mid=" + members.MemberID.ToString() + "&email=" + members.Email), members.GetColumn("UserName"));
                members.MoveNext();
            }

            try
            {
                MailMessage msg = new MailMessage();
                string mail = HttpContext.GetGlobalResourceObject("Global", "Mail").ToString();
                string mailto = Email;
                msg.To.Add(mailto);
                msg.From = new MailAddress(mail);
                msg.Subject = HttpContext.GetGlobalResourceObject("Global", "ResetSubject").ToString();
                msg.IsBodyHtml = true;
                msg.BodyEncoding = System.Text.Encoding.Unicode;

                msg.Body = string.Format(HttpContext.GetGlobalResourceObject("Global", "ResetPassBody").ToString(), accounts);

                SmtpClient client = new SmtpClient(HttpContext.GetGlobalResourceObject("Global", "server").ToString(), 25);

                client.UseDefaultCredentials = false;

                client.Credentials = new System.Net.NetworkCredential(mail, HttpContext.GetGlobalResourceObject("Global", "Password").ToString());
                client.Send(msg);

            }
            catch (Exception ex)
            {
                return false;
            }
            return true;
        }
        public List<dynamic> SearchAccountsByMail(string email)
        {
            List<dynamic> people = new List<dynamic>();
            Member members = new Member();
            members.Proc_SearchMembersByMail(email);

            for (int i = 0; i < members.RowCount; i++)
            {
                people.Add(new { MemberID = members.MemberID, MemberName = members.GetColumn("UserName").ToString(), ProfileImg = members.ProfilePic, IsPassReseted = false });
                members.MoveNext();
            }
            if (people.Count > 0)
            {
                return people;
            }
            else
                return null;
        }