C#邮件发送 这篇文章主要介绍如何使用C#的MailAddress类进行邮件的发送。 1.首先引入命名空间using System.Net.Mail; 2.将发送的邮件的功能封装成一个类,该类中包含 ...