英文:
Outlook Macro To Replace Com Addin
问题
我目前正在寻找替代我之前编写的用于存储发送和接收的电子邮件的Com插件的选项。由于微软已决定在新版本的Outlook中不再支持Com插件,我需要一种替代方案。我自己不进行编程,而是由一名开发人员试图将解决方案从Com插件转换为Web插件,并且由于两者允许保存msg文件的方式及其格式不同,目前还没有取得进展。
在开发人员处理这个挑战的同时,我需要了解在保存接收到的电子邮件和保存发送的电子邮件时,有哪些替代方案可以实现以下步骤,因此如果有人能够提供关于如何自动执行以下步骤的建议,我将不胜感激:
发送电子邮件
- 用户撰写电子邮件
- 用户单击启用宏的发送电子邮件按钮
- 宏读取Windows剪贴板,获取要保存到本地驱动器的引用和地址
- 宏在电子邮件正文顶部盖上一个引用,该引用来自剪贴板上的地址(这将是需要可靠识别的地址的特定部分)
- 宏使用来自Windows剪贴板的地址(.msg)保存电子邮件的副本到本地驱动器
- 宏将电子邮件发送给收件人
接收电子邮件
- 用户收到一封电子邮件
- 用户单击启用宏的保存电子邮件按钮
- 宏读取Windows剪贴板,获取要保存到本地驱动器的引用和地址
- 宏在电子邮件正文顶部盖上一个引用,该引用来自剪贴板上的地址(与上述过程一样)
- 宏使用来自Windows剪贴板的地址(.msg)保存电子邮件的副本到本地驱动器
如果有人能告诉我这是否可能,并且是否可以指导我如何编写此宏的学习资源/理解资源/示例,我将不胜感激。
英文:
I'm currently looking at options to replace a Com addin I had programmed to store sent and recieved emails. As MicroSoft has decided Com Add ins will no longer be supported with the new version of Outlook, I need an alternative. I don't do the programming myself, instead, a developer is attempting to convert the solution from Com add in to Web add in, and is so far drawing a blank due to the differing ways which the two allow the saving of the msg file and their format.
Whilst the developer wrestles with that challenge I need to understand what's possible as an alternative to fulfill the following steps when saving recieved emails, and saving emails that are sent, so if anyone can give advise on how I could automate the following steps I would really appreciate it:
Sending emails
- The user composes an email
- The user clicks a macro enabled send email button
- The macro reads the windows clipboard picking up a reference and address to save to on a local drive
- The macro stamps a reference at the top of the email body, picked up from the address on the clipboard (this will be a specific part of the address that needs to be reliably idenfitied)
- The macro saves a copy of the email using the address from the windows clipboard (.msg) to a local drive
- The macro sends the email to the recipient
Receiving emails
- The user receives an email
- The user clicks a macro enabled save email button
- The macro reads the windows clipboard picking up a reference and address to save to on a local drive
- The macro stamps a reference at the top of the email body, picked up from the address on the clipboard (as with the above process)
- The macro saves a copy of the email using the address from the windows clipboard (.msg) to a local drive
If someone can let me know if this is at all possible, and if they can point me to where I can learn/understand/get examples of how I could write this macro I'd appreciate it.
答案1
得分: 0
新的Outlook(Monarch)不会暴露宏。Web插件是您可以以编程方式与其交互的唯一方式。
新的Outlook 不会替代常规桌面Outlook,它是Windows Mail和Windows Calendar的替代品。Office套件和Outlook特别受支持。
英文:
The new Outlook (Monarch) does not expose macros. Web addins is the only way you can programmatically interact with it.
The new outlook does not replace regular desktop Outlook, it is a replacement for Windows Mail and Windows Calendar. The Office suite and Outlook in particular are very much supported.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论