You should probably check the return value of Smtp.SendMessage
:
ISendMessageResult result = smtp.SendMessage(email);
if (result.Status == SendMessageStatus.Success)
{
// Message was sent.
}
You can examine ApprovedRecipients
, RejectedRecipients
and FromRejected
on failure.