检查邮箱的有效性

                try
                {
                    MailAddress fromemail = new MailAddress(inputEmail);

                }
                catch(Exception ex)
                {
                    string str = ex.Message;
                }

 

posted @ 2013-11-28 11:49  just_xing  阅读(247)  评论(1编辑  收藏  举报