📜  smtp 检查电子邮件是否已发送 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:57.351000             🧑  作者: Mango

代码示例1
try
{
    mail.Send(msg);
}
catch (SmtpFailedRecipientException ex)
{
    // ex.FailedRecipient and ex.GetBaseException() should give you enough info.
}