如何识别使用outlook addin发送的邮件已成功通过C sharp编码传送? [英] How to identify that mail sent using outlook addin has successfully got delivered through C sharp coding?

查看:111
本文介绍了如何识别使用outlook addin发送的邮件已成功通过C sharp编码传送?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hii朋友,



我已经为发送邮件的Outlook开发了一个vsto插件,我使用Outlook.MailItem对象发送邮件。



发送邮件后我想知道发送邮件的状态。



任何人都可以给我解决方案找到上述问题的解决方案。



先谢谢。



问候,

T.Sudhir



我尝试过:



Hii Friends,

I have developed a vsto addin for outlook for sending mails, where I am sending mail by using Outlook.MailItem objects.

After sending the mail I want to know the status of the mail sent.

can anybody give me the solution for finding the solution of the above problem.

Thanks in advanve.

Regards,
T.Sudhir

What I have tried:

Outlook.MailItem eMail = (Outlook.MailItem)this.Application.CreateItem(Outlook.OlItemType.olMailItem);
eMail.Subject = "Test mail";
eMail.To = "sudhir@xyz.com";
eMail.Body = "sample body";
((Outlook._MailItem)eMail).Send();





之后我想知道的状态发送邮件



after this I want to know the status of the sent mail

推荐答案

简单明了,没有100%可靠的方式来自动跟踪电子邮件。您可能会收到一封未送达的收据,表明电子邮件不存在,但这取决于服务器配置



您也可以尝试递送并阅读收据,但是再次,现代电子邮件客户端不会在没有用户交互的情况下自动生成论文。



某些电子邮件营销服务所做的是在电子邮件中嵌入一个链接,当打开时通过电子邮件跟踪电子邮件唯一ID,但现代电子邮件客户端再次默认阻止这种情况发生。
Plain and simple, there is not 100% reliable way to automatically track emails. It is possible you could get a non delivery receipt that an email does not exist, but that is dependent on server configuration

You could also try delivery and read receipts, but again modern email clients do not auto generate theses without user interaction.

What some email marketing services do is embed a link in the email that when opened tracks the email through a unique id, but again modern email clients block this from happening by default.


除了正确的解决方案1:



请参阅:电子邮件跟踪 - 维基百科,免费的百科全书 [ ^ ]。



我会得出一个实际结论:如同任何一个如果您与随机收件人进行通信,依赖邮件跟踪功能,则无法保证邮件跟踪功能ld仅适用于某些公司邮件通信,其中可以通过公司IT策略和系统管理部门提供的适当服务来启用可用的跟踪功能。这是你的情况吗?



-SA
In addition to the correct Solution 1:

Please see: Email tracking — Wikipedia, the free encyclopedia[^].

I would make one practical conclusion: as any of the mail tracking features are never guaranteed if you communicate with random addressees, relying on mail tracking could be applied only to some corporate mail communications, where the available tracking features can be enabled by the company IT policies and appropriate services provide by the system administration department. Is that your situation?

—SA


这篇关于如何识别使用outlook addin发送的邮件已成功通过C sharp编码传送?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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