一聚教程网:一个值得你收藏的教程网站

热门教程

自动生成SERVER CONTROLS在程序里的应用

时间:2022-07-02 18:08:39 编辑:袖梨 来源:一聚教程网

        private string listFolder(EASYMAILIMAP4Lib.EasyMailIMAP4 IMAP4,string strFolder,int perpage)
        {
            TableRow r;
            TableCell c;
            int x,pages,pgnum,start,end;
            string str1;
            x = IMAP4.SelectMailbox(strFolder);
            if(x != 0)
            {
                IMAP4.CreateMailbox(strFolder);
                return "(Created!)";
            }
            else
            {
                r = new TableRow();
                c = new TableCell();
                str1 = "当前邮箱 "+strFolder+" ";
                str1 = str1+"共有邮件 "+IMAP4.MessageCount+" 封";
                Folder_Info.Text = str1;

热门栏目