P
Peter Crickman
I am trying to write a Outlook script in VBA to execute using the "Run a
Script" option in the Rules Wizard under Outlook 2002. The macro appears to
execute properly but does not save the updated mail item in the Inbox. Do I
need some additional permissions to save updated items to my Inbox? Are
these properties not updatable?
Sub ExpireMail(MyMail As MailItem)
MyMail.ExpiryTime = DateAdd("m", 1, Date)
MyMail.UnRead = True
MyMail.Save
End Sub
Thanks for any help,
Peter
Script" option in the Rules Wizard under Outlook 2002. The macro appears to
execute properly but does not save the updated mail item in the Inbox. Do I
need some additional permissions to save updated items to my Inbox? Are
these properties not updatable?
Sub ExpireMail(MyMail As MailItem)
MyMail.ExpiryTime = DateAdd("m", 1, Date)
MyMail.UnRead = True
MyMail.Save
End Sub
Thanks for any help,
Peter