发送一封电子邮件并要求确认 [英] Send one email and wants confirmation

查看:184
本文介绍了发送一封电子邮件并要求确认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想要完整的代码以返回确认邮件..

want full code to return confirm mail..

推荐答案

到目前为止,您发现了什么?

要发送电子邮件,您可以使用 SmtpClient类 [ ^ ].
但是要确认您的电子邮件已到达接待处,您必须要求邮件服务器向您发送一封回复电子邮件.

请参阅 MailMessage.DeliveryNotificationOptions属性 [
What have you found out so far?

To send an email you can use SmtpClient Class[^].
But to get confirmation that you email has arrived at the reception, you have to ask the mail server to send you a reply email.

See MailMessage.DeliveryNotificationOptions Property[^]


有一个通用的例程可以在此处发送电子邮件:DeliveryNotificationOptions [ DeliveryNotificationOptions枚举 [ ^ ]
There is a generic routine to send email here: Sending an Email in C# with or without attachments: generic routine.[^] All you have to do is set the appropriate DeliveryNotificationOptions [^]property: DeliveryNotificationOptions Enumeration[^]


这篇关于发送一封电子邮件并要求确认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆