W
Willy
Hi 2 All!
I've faced with very strange problem:
I have rule fires after arrival of the letter and execute VBA script ("run a
script" option) located in the ThisOutlookSession Module.
It looks like:
------
Sub FailTest(Item As MailItem)
'Log ("FailTest")
End Sub
------
Yes, it does nothing In the original there was a useful logic, but I've
simplified code to localize a place of raising of exception.
So, in general this code works fine. BUT sometimes after arrival of the
message it spontaneously fails with message: "Rules In Error", "The
Operation Failed". And then my rule turns off.
It occurs on the average 3-5 times day.
I can't determine what exactly causes error
(I have an error handler but it doesn't log error report)
I suppose that exception is raised in the Rules Manager (or Wizard) while it
tries to call my VBA script & pass there arrived mail as parameter.
I tried to find solution of the problem or work around, but I've found
nothing
Anyone have any ideas on how to solve this problem?
System:
Outlook 2007, Win XP SP3. + All Updates for Office & Windows.
The same behaviour was on Outlook 2003, Win XP SP2
Settings:
Junk e-mail options: high; Cached Exchange Mode: On
Many Thanks!
I've faced with very strange problem:
I have rule fires after arrival of the letter and execute VBA script ("run a
script" option) located in the ThisOutlookSession Module.
It looks like:
------
Sub FailTest(Item As MailItem)
'Log ("FailTest")
End Sub
------
Yes, it does nothing In the original there was a useful logic, but I've
simplified code to localize a place of raising of exception.
So, in general this code works fine. BUT sometimes after arrival of the
message it spontaneously fails with message: "Rules In Error", "The
Operation Failed". And then my rule turns off.
It occurs on the average 3-5 times day.
I can't determine what exactly causes error
(I have an error handler but it doesn't log error report)
I suppose that exception is raised in the Rules Manager (or Wizard) while it
tries to call my VBA script & pass there arrived mail as parameter.
I tried to find solution of the problem or work around, but I've found
nothing
Anyone have any ideas on how to solve this problem?
System:
Outlook 2007, Win XP SP3. + All Updates for Office & Windows.
The same behaviour was on Outlook 2003, Win XP SP2
Settings:
Junk e-mail options: high; Cached Exchange Mode: On
Many Thanks!