Outlook 2010拦截发送电子邮件 [英] Outlook 2010 Intercept Send Email
问题描述
大家好,我有个问题。我正在使用Microsoft Outlook 2010和Visual Studio 2010 VB。
Hi Everyone, i have a question. I am using Microsoft Outlook 2010 and Visual Studio 2010 VB.
我需要一个可以拦截用户发送电子邮件的插件。截取后,我将接收电子邮件消息数据,收件人的电子邮件,日期时间和附件,并将数据存储到数据库中。
i need a add in that can intercept the user from sending an email. after intercepting, i will take in the email message data, recipients' email, date time and the attachments and store the data into the database.
此外,我将存储附件文件和存储它进入我的硬盘。
Also, i will store the attachment files and store it into my harddisk.
请帮忙。我以前从未使用过outlook。所以我不知道如何开始
Please help. I have never use outlook before. so i don't know how to start
推荐答案
您可以创建一个拦截Application.ItemSend事件的Outlook COM加载项。
You can create an Outlook COM add-in that intercepts the Application.ItemSend event.
正在发送的MailItem将作为参数传递给您的事件处理程序。
The MailItem being sent will be passed to your event handler as an argument.
这篇关于Outlook 2010拦截发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!