服务器端规则将特定电子邮件移动到不同的文件夹 [英] Server side rule to move specific email to different folder

查看:139
本文介绍了服务器端规则将特定电子邮件移动到不同的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Outlook 2007.我需要创建一个规则来移动特定的电子邮件到另一个文件夹。我有vba代码来执行此操作,但有没有办法在服务器上运行此代码或w 我应该最好写一个传输代理?有没有人这样做过。我以前没有用过交换,真的需要帮助

I  have Outlook 2007. I need to create a rule to move a specific email to a different folder. I have the vba code to do this but is there a way to run this code on the server or would I be best off to write a transport agent? Has anyone done this before. I haven't worked with exchange before and really need some help.

谢谢,

D < br>

推荐答案

您应该能够使用Outlook 2007创建服务器端规则(或者您可以使用rule.dll / CDO或Redemption / RDO)但是根据您使用的条件和操作,这可能会被设置为客户端规则您使用的代码是什么样的?

You should be able to create a Server side rule using Outlook 2007 (or you could use rule.dll/CDO or Redemption/RDO) but depending on the conditions and actions you have used this maybe getting set as a client rule what does the code your using look like ?

传输代理无法将邮件移动到邮箱中的文件夹,因为它会在传输管道中处理邮件。但是,如果您有一些更高端的逻辑需要在消息上处理,您可以使用传输代理进行此处理,然后在消息上设置一个X-header,根据您的处理说明您希望消息移动到哪个文件夹。然后使用服务器端规则根据您在传输代理中设置的X-header移动邮件(或者您甚至可以使用传输规则执行此操作,具体取决于逻辑的复杂性)

A transport agent couldn't do the work of moving a message to a folder in a mailbox because it processes the mail while its in the transport pipeline. But if you have some higher end logic you need processed on a message they you could use a transport agent to do this processing and then set a X-header on the message to say which folder you want the message moved to based on you processing. Then use a Server side rule to move the message based on the X-header you have set in your Transport agent (or you may even be able to do this with Transport Rule depending on the complexity of your logic)

干杯

Glen


这篇关于服务器端规则将特定电子邮件移动到不同的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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