Answers for "smtp check if email sent"

C#
0

smtp check if email sent

try
{
    mail.Send(msg);
}
catch (SmtpFailedRecipientException ex)
{
    // ex.FailedRecipient and ex.GetBaseException() should give you enough info.
}
Posted by: Guest on January-07-2021

C# Answers by Framework

Browse Popular Code Answers by Language