Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个发送邮件但想知道某些邮件是否失败的应用程序。我怎么会知道呢?我尝试使用代码
mail.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;
但它只是通过我的在线邮件传递发送,我想通过Message.Show. 有什么简单的方法可以做到这一点吗?
Message.Show