[求助]发送邮件的问题
private void button1_Click(object sender, System.EventArgs e)
{
MailMessage mMail = new MailMessage();
mMail.From="123@as1d.net";
mMail.To="accps2102@126.com";
mMail.Cc="test3@test.com";
mMail.Subject="例子";
mMail.Body="收到了";
mMail.BodyFormat=MailFormat.Text;
mMail.Priority=MailPriority.High;
SmtpMail.SmtpServer="www.126.com";
SmtpMail.Send(mMail);
}
大家帮我看一下那里有问题,发不出去啊