I am trying to verify that an email sent from my application is sent successfully, wondering if the recipient receives it or not (full mailbox, invalid email, there). For what I researched, there is deliverynotificationoptions
that the game should give me information if the email was sent or not.
mail.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;
mail.DeliveryNotificationOptions = DeliveryNotificationOptions.OnSuccess;
mail.DeliveryNotificationOptions = DeliveryNotificationOptions.Delay;
Then I try to send the email:
try
{
SmtpCliente.Send(mail);
}
catch (Exception ex)
{
return ex.Message;
}
The truth is that I can not get this information ... Is there another way to get this information, or is it really impossible?