这个帮助类只能发送简单的基本邮件,只能发送给多个用户,单一内容。不具有抄送功能,附件添加功能。功能代码如下,privatevoidbutton3_Click(objectsender,EventArgse){intresult=SendEmail("123456@qq.com","123456",newstring[]{"530794089@qq.com"},"测试标题","测试内容","smtp.qq.com");MessageBox.Show(result.ToString());...
查看全文