MailMessage m = new MailMessage ("jane@sharejs.com", "ben@sharejs.com", "This is the subject for the email.", "This is the body of the mail!..."); // Send the message,请见smpt.sharejs.com替换成你自己的smtp服务器 SmtpClient client = new SmtpClient("smtp.sharejs.com"); client.Send(m); //csharp/7760