public void Send()
          {
          MailAddress from = new MailAddress(@"luanzhiyong20062@163.com"); 
          MailAddress to = new MailAddress(@"wangming@emar.com.cn");
          MailMessage message = new MailMessage(from, to);
          message.Subject = "chenggong";//设置邮件主题
          message.IsBodyHtml = true;//设置邮件正文为html格式
          message.Body = "成功";//设置邮件内容
          //SmtpClient client = new SmtpClient(smtpHost);
            SmtpClient client = new SmtpClient(@"smtp.163.com");
          //设置发送邮件身份验证方式
          //注意如果发件人地址是abc@def.com,则用户名是abc而不是abc@def.com
          client.Credentials = new NetworkCredential(@"luanzhiyong20062@163.com",@"hui5387030");
          client.Send(message);
          }