C#中通过SSL发送邮件的代码
下边内容段是关于C#中通过SSL发送邮件的内容。
MailMessage m = new MailMessage "This is the subject for the authorized email.", "This is the body of the authorized mail!...");client.Credentials = new NetworkCredential("user", "password");client.EnableSsl = true;client.Send(m);
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。