E
Ed
No prompts appear, but I get a "This message not sent indication".
Dim myOlApp As Outlook.Application
Dim myItem As TaskItem
Dim objSafeMsg As Redemption.SafeTaskItem
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olTaskItem)
With myItem
.Assign
.Subject = "SubjectNew"
.Body = Now()
End With
Set objSafeMsg = CreateObject("Redemption.SafeTaskItem")
With objSafeMsg
.Item = myItem
.Recipients.Add "emailAddress"
.Recipients.ResolveAll
.Send
End With
Set myItem = Nothing
Set myOlApp = Nothing
Set objSafeMsg = Nothing
Dim myOlApp As Outlook.Application
Dim myItem As TaskItem
Dim objSafeMsg As Redemption.SafeTaskItem
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olTaskItem)
With myItem
.Assign
.Subject = "SubjectNew"
.Body = Now()
End With
Set objSafeMsg = CreateObject("Redemption.SafeTaskItem")
With objSafeMsg
.Item = myItem
.Recipients.Add "emailAddress"
.Recipients.ResolveAll
.Send
End With
Set myItem = Nothing
Set myOlApp = Nothing
Set objSafeMsg = Nothing