发布网友
发布时间:2022-04-21 19:26
共5个回答
热心网友
时间:2022-04-27 09:55
SmtpClient smtp = new SmtpClient();
smtp.Host = "server name or server ip";
smtp.Port = 23;
MailMessage mail = new MailMessage();
mail.From = new MailAddress("From Address");
mail.To.Add(new MailAddress("To Address"));
mail.Subject = "Mail Subject";
mail.Body = "Mail Content";
mail.Attachments.Add(new Attachment("Attachment File Name"));
smtp.Send(mail);
热心网友
时间:2022-04-27 11:13
ASP.NET发邮件,全部源码,包括群发,带图片等等
http://hi.baidu.com/deltacat2006/blog/item/7c69262dcad5373d359bf75c.html
热心网友
时间:2022-04-27 12:48
http://hi.baidu.com/deltacat2006/blog/item/7c69262dcad5373d359bf75c.html
热心网友
时间:2022-04-27 14:39
http://hi.baidu.com/sorry2006/blog/item/919d121c96d2f09b86d6b9.html
注解写的很清楚了
热心网友
时间:2022-04-27 16:47
微软MSDN官网上搜