我SmtpClient
用来发送邮件。我该如何处置SmtpClient
. 我正在使用 .NET 3.5。
try
{
smtpClient.Send(message);
Log.WriteSpecialLog("smtpClient mail sending try success", "");
}
catch (Exception ee)
{
Log.WriteSpecialLog("smtpClient mail sending try Failed : " + ee.ToString(), "");
return false;
}