📅  最后修改于: 2022-03-11 14:49:14.711000             🧑  作者: Mango
string from = "from@microsoft.com";
string to = "to@microsoft.com";
string subject = "UtilMailMessage001";
string body = "UtilMailMessage001 - success";
SmtpMail.SmtpServer = "MyMailServer";
SmtpMail.Send(from, to, subject, body);