static void SentMail(Mail mail) { Console.WriteLine("标题: " + mail.Subject + "\t收件人:" + mail.Receiver + "\t...发送成功! "); }
public static void SendMail(Mail mail) { Console.WriteLine("标题:" + mail.subject + "\t收件人:" + mail.receiver + "\t...发送成功!"); }