We are using the Redemption add-in for Outlook 2003 under Exchange 2003. First impressions are that it meet our requirements. However, tests show that mail sent via Redemption is not processed by our Outlook client rules. We have a rule to copy all outbound mail to a specific folder. However, when we run the VBscript code below, the message sent is not affected by the rule. Is there something wrong with this code?
Andrew D
Code:
Dim OutlookMessage, oItem
Set OutlookApp = CreateObject("Outlook.Application")
Set Namespace = OutlookApp.GetNamespace("MAPI")
Namespace.Logon
Set OutlookMessage = CreateObject("Redemption.SafeMailItem")
Set oItem=OutlookApp.CreateItem(0)
With OutlookMessage
.Subject = "Test"
.Recipients.Add "someone@somewhere.com"
.Recipients.ResolveAll
.HTMLBody = "This is a test"
.Send
End With
Andrew D