下边内容段是关于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);