快来看!
jmail.MessageClass mail = new jmail.MessageClass();mail.ISOEncodeHeaders = false;
mail.AddRecipient("edwindoctornma@gmail.com", "马鹏飞","");
mail.ContentType = "text/html";
mail.Charset = "gb2312";
mail.Subject = "主题";
mail.Body = "内容";
mail.Silent = true;
mail.From = "edwindoctornma@126.com";
mail.FromName = "马鹏飞";
mail.MailServerUserName = "edwindoctornma@126.com";
mail.MailServerPassWord = "****";
mail.HTMLBody = "<b>fdsafdsa</b>";
mail.Logging = true;
try
{
mail.Send("smtp.126.com", false);
}
catch (Exception ex)
{
mail.Close();
}
mail.Close(); --------------------编程问答-------------------- 真好看! --------------------编程问答-------------------- 程序运行没有异常,,,但是到邮件箱中查看,没有邮件,。郁闷。。。
补充:.NET技术 , C#