2012-01-18 44 views
1

我需要在Outlook中创建一个规则推迟的消息脚本(VBA)在Outlook中创建一个规则推迟的消息传递

代码的交付是这样的:

Set colRules = Application.Session.DefaultStore.GetRules() 
'Create the rule by adding a SendRule to Rules collection 
Set oRule = colRules.Create("Envoi différé", olRuleSend) 
Set oDeferRuleAction = oRule.Actions(OlRuleActionType.olRuleActionDefer) 
With oDeferRuleAction 
    .Enabled = True 

' then the first action is activate "delete category" but not defer delivery 
' and I can't set a number of minutes 

End With 

有些东西丢失了,我不知道如何解决它。

+0

任何有关它的最终解决方案? – Kiquenet 2013-02-11 08:59:02

回答