为什么Thunderbird通过MAPI发送邮件后总是立即返回?

发布于 2024-08-28 08:22:41 字数 142 浏览 5 评论 0原文

为什么Thunderbird通过MAPI发送邮件后总是立即返回?

其他客户端(例如 Outlook Express)仅在发送邮件或用户取消请求时返回。但雷鸟每次总是返回成功。

有人知道为什么或知道如何解决它吗?

提前致谢。

Why does Thunderbird always return immediately after sending mail through MAPI?

Other clients, like Outlook Express, returns only when the mail is sent or when the user was cancelled the request. But Thunderbird always return SUCCESS every time.

Somebody knows why or knows how to fix it?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一抹苦笑 2024-09-04 08:22:41

并非所有电子邮件客户端的行为都相同。具体行为不需要遵守(据我所知)任何标准。顺便说一句,我的 Thunderbird 副本首先发送文件,在执行此操作时我可以看到“已发送”进度线。

然而,当邮件被放入“传出”文件夹时,Microsoft Outlook 可能会将其视为“已发送”(我上次检查是在 2000 年代初......所以可能已经发生了变化)。

根据应用程序的实际要求,您可能需要考虑在发送消息时记录消息 ID 或句柄,然后在 Thunderbird 中跟踪它(以编程方式)以查找它是否已移动到“已发送”文件夹中。

Not all email clients behave the same. The specific behavior does not need to comply (AFAIK) to any standard. My copy of Thunderbird, by the way, first sends the file, and I can see the "sent" progress line while it does so.

However, Microsoft Outlook may consider a mail as "sent" when it is placed into the "Outgoing" folder (I last checked in the beginning of the 2000s... so maybe has changed).

Depending on the actual requirements of your application, you may want to consider to log the message ID or handle when sending it, and then track it inside Thunderbird (programmatically) to locate whether it has moved into the "Sent" folder.

草莓味的萝莉 2024-09-04 08:22:41

这是解决您问题的另一种尝试。 Mozilla 的 Thunderbird API 文档网页上记录的 活动管理器 是一个新组件,可从 版本3.

除此之外,它还监听事件,并告诉您某件事何时发生及其进展情况。他们有一个发送邮件的示例。

希望这有帮助。

Here is another try at your problem. The Activity Manager documented on Mozilla's Thunderbird API documentation webpage, is a new component available from version 3.

Among other things, it listens to events, and tells you when something has occured, and its progress. They have an example for sending mail.

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文