当应用程序生成E:Mail时,如何让ItemSend启动? [英] How do I get ItemSend to kick in when an E:Mail is generated by an application ?

查看:170
本文介绍了当应用程序生成E:Mail时,如何让ItemSend启动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我创建一个新的E:Mail并单击发送,我创建的Application_ItemSend VBA代码会切入并拦截E:Mail。



但是,如果E:Mail是由我使用的特定应用程序创建的,我点击发送按钮,代码没有插入......为什么会这样?!?!?



我创建的Send E:Mail表单和应用程序创建的表单有什么不同?我可以影响这个以使我的VBA代码切入吗?



非常感谢你能提供帮助:-) ...

If I create a new E:Mail and click Send, the Application_ItemSend VBA code that I have created cuts in and intercepts the E:Mail.

However, if the E:Mail is created by a particular Application that I use and I click on the Send button, the code doesn't cut in ... why would this be ?!?!?

What could be different with the Send E:Mail Form that I create and the Form the Application creates ? Am I able to influence this to make my VBA code cut in ?

Many thanks if you can help :-) ...

推荐答案

尝试一些 outlook vba add cc - Google搜索 [ ^ ] 。
Try some of outlook vba add cc - Google Search[^].


在看到更新的问题并仔细阅读MAPI文档后,没有发送任何通知,也无法订阅任何发送电子邮件的事件。你想做什么没有任何已知的实现方法。
After seeing your updated question and perusing the MAPI documentation, there is no notification sent and no way to subscribe to any event that an email is being sent. What you want to do doesn't have any known method of being implemented.


如果有人遇到这个问题并找到我的问题,用于创建邮件的E:Mail协议应用程序是MAPI,这意味着VBA被绕过。



据我所知,到目前为止还没有办法解决这个问题:(
If anybody is running into this problem and finds my question, the E:Mail protocol used to create the mail in the application is MAPI and this means that the VBA is being bypassed.

As far as I have found so far there is no way around this :(


这篇关于当应用程序生成E:Mail时,如何让ItemSend启动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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