void send()
    {
        MailMessage message = new MailMessage();
        message.From = new MailAddress("[email protected]", "hoho~~邮件发送成功!");
        message.To.Add(new MailAddress("[email protected]")); // the email you want to send email to
        message.Subject = "A test email";
        message.IsBodyHtml = true;
        message.BodyEncoding = System.Text.Encoding.UTF8;
        message.Body = "资料已经成功提交!";
        message.Priority = MailPriority.High;
        SmtpClient client = new SmtpClient("smtp.yahoo.cn"); 
        client.Credentials = new System.Net.NetworkCredential("[email protected]", "password"); // Your user name & password
        client.EnableSsl = true; //经过ssl加密 
        object userState = message;
        try
        {
            client.Send(message);
            Response.Write("邮件发送到" + message.To.ToString() + "<br>");
        }
        catch (Exception ee)
        {
            Response.Write(ee.Message + "<br>" + ee.InnerException.Message);
        }
    }
错误提示如下:
Failure sending mail.
Unable to read data from the transport connection: net_io_connectionclosed. 
请问是什么原因. 代码有什么错误么? 请高人讲解一下,具体功能类似于注册成功,系统自动向注册是所添邮箱发送一封注册成功的信