W
Walter Levine
I wrote a VB program that scans a database for certain
action dates, expirations, renewals ect.
As records are identified, the program needs to create a
task owned by a supervisor and assigned to a caseworker
(all of whom have accounts on the Exchange Server) It
seems that I need to use Redemption because I get the
security warning if I don't.
My code (doesn't work) is:
**********************
Set Application = New Outlook.Application
Set NameSpace = Application.GetNamespace("MAPI")
NameSpace.Logon gsProfile, gsPassword, False, False
Set SafeTask = CreateObject("Redemption.SafeTaskItem")
Set oTask = Application.CreateItem(olTaskItem)
With SafeTask
.Item=oTask
.Owner="(e-mail address removed)"
.Assign
.Recipients.Add "(e-mail address removed)"
.Recipients.ResolveAll
.Save
.Send
End With
**********************
Can anyone tell me why this code doesn't work??
I am trying to simulate this with a pop3 account, could
that be the problem.
Any help would be greatly appreciated.
Thanks in advance
Walter Levine
action dates, expirations, renewals ect.
As records are identified, the program needs to create a
task owned by a supervisor and assigned to a caseworker
(all of whom have accounts on the Exchange Server) It
seems that I need to use Redemption because I get the
security warning if I don't.
My code (doesn't work) is:
**********************
Set Application = New Outlook.Application
Set NameSpace = Application.GetNamespace("MAPI")
NameSpace.Logon gsProfile, gsPassword, False, False
Set SafeTask = CreateObject("Redemption.SafeTaskItem")
Set oTask = Application.CreateItem(olTaskItem)
With SafeTask
.Item=oTask
.Owner="(e-mail address removed)"
.Assign
.Recipients.Add "(e-mail address removed)"
.Recipients.ResolveAll
.Save
.Send
End With
**********************
Can anyone tell me why this code doesn't work??
I am trying to simulate this with a pop3 account, could
that be the problem.
Any help would be greatly appreciated.
Thanks in advance
Walter Levine