摘要:
记住端口和SMTP服务器地址(post:25,url:smtp.qq.com)SendMail.cs 1 using System; 2 using System.Configuration; 3 using System.Net.Mail; 4 using System.Net; 5 6 namespace ParcelDistribution.BLL 7 { 8 public class SendMail 9 {10 private readonly SmtpClient _smtp;11 private MailMessage _objM... 阅读全文