问提是 
我用一个listbox 放置受件人地址
进行邮件发送
但是程序没有问题
可是当我去油箱查看时
发现
 要发送的邮件都退回来了
反映信息为   受件人地址  smtp服务器错误
发件人地址为 163的邮箱
代码为 
private void btnSend_Click(object sender, System.EventArgs e)
{
if(DirectList.Items.Count>0)
{
foreach(ListItem item in DirectList.Items)
{
try 
{
MailMessage Message = new MailMessage(); if( this.chkRequireLogin.Checked ) 
{
Message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1" ); //basic authentication
Message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", txtUserName.Text ); //set your username here
Message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", txtPassword.Text ); //set your password here
// 超时时间增加 by venjiang
Message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout", 60); 
}
txtTo.Text=item.ToString();
Message.To = txtTo.Text;
Message.Cc = txtCC.Text;
Message.Bcc = txtBCC.Text;
Message.From = txtFrom.Text;
Message.Subject = txtSubject.Text;
Message.BodyFormat = (MailFormat)System.Enum.Parse(typeof(MailFormat), ddlMailFormat.SelectedValue );
Message.Body = txtMessage.Text; SmtpMail.SmtpServer = txtServer.Text;
SmtpMail.Send(Message); lblResult.Text = "邮件发送成功!";
}
catch(Exception ex)
{
lblResult.Text=ex.Message;
}
}但是把if(DirectList.Items.Count>0)
{
foreach(ListItem item in DirectList.Items)
{
删除就可以发送成功