📅  最后修改于: 2022-03-11 14:48:57.351000             🧑  作者: Mango
try
{
mail.Send(msg);
}
catch (SmtpFailedRecipientException ex)
{
// ex.FailedRecipient and ex.GetBaseException() should give you enough info.
}