首页 > 技术文章 > 检查邮箱的有效性

x-ing 2013-11-28 11:49 原文

                try
                {
                    MailAddress fromemail = new MailAddress(inputEmail);

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

 

推荐阅读