英文:
How to open Outbox/Sent-Emails in default email client, from Javascript on button click?
问题
当点击按钮时,我想向用户展示在他离开期间由我的程序发送的电子邮件(由另一个程序/模块自动发送电子邮件报告,当满足某些条件时)。
所以我认为一个好的方法是,在按钮点击时,打开用户的默认电子邮件客户端(例如,Thunderbird电子邮件客户端),并将其打开到“Outbox/已发送邮件”,而不是默认的“Inbox/收件箱”?
我应该如何实现这个功能?使用什么技术/插件/库/实用工具?
当我进行Google搜索时,它只显示了想要在“Compose Message/Email”页面打开电子邮件客户端的结果,使用Javascript中的**mailto
**实用工具。但我需要在电子邮件客户端中打开Outbox/Outgoing/Sent Email。
英文:
On the click of a button, I want to show the user what emails have been sent (by another program/module which does automatic email based reporting when certain criteria are met) by my program while he was away.
So I have thought that a good way would be that, on button click, the default email client (e.g. thunderbird email client) of the user is opened, and it is opened at "Outbox/ Sent Emails" rather than the default "inbox/ incoming email"?
How can I implement this functionality? That is what technology/plugin/library/Utility to use?
When I did Google search, it only showed results for wanting to open email client at "Compose Message/ Email" page, using the mailto
utility in Javascript. But I need to open the email client at Outbox/Outgoing/Sent Email.
答案1
得分: 1
无法使用JS代码自动化Outlook来显示任何已发送的消息或文件夹。只有Internet Explorer知道如何处理COM服务器,详见使用Outlook Automation 2007通过JavaScript撰写和发送电子邮件。
英文:
You will not be able to automate Outlook from JS code to display any sent message or folder. Only Internet Explorer knows how to deal with COM servers, see Compose and Send E-mail from JavaScript by using Outlook Automation 2007.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论