R
Richard
Hi
I am trying to use redemption. A few issues crop up:
1. Why do I need to display the form? It creates an error if I don't.
2. After send, it goes to drafts folder, how do I get it out immediately?
Here's my code:
If Not rs.EOF Then
rs.MoveFirst
Do Until rs.EOF
Set myFolder = nspNameSpace.GetDefaultFolder(olFolderDrafts)
Set emailitem = myFolder.Items
Set FWDItem = emailitem.Item(1).Forward
Set mySafeItem = CreateObject("Redemption.SafeMailItem")
FWDItem.To = rs!Email
FWDItem.DeleteAfterSubmit = True
FWDItem.Display
mySafeItem.Item = FWDItem
mySafeItem.Send
FWDItem.Close olDiscard ' when I display the window it
doesn't close after send, so I need to close manually.
rs.MoveNext
Loop
End If
I am trying to use redemption. A few issues crop up:
1. Why do I need to display the form? It creates an error if I don't.
2. After send, it goes to drafts folder, how do I get it out immediately?
Here's my code:
If Not rs.EOF Then
rs.MoveFirst
Do Until rs.EOF
Set myFolder = nspNameSpace.GetDefaultFolder(olFolderDrafts)
Set emailitem = myFolder.Items
Set FWDItem = emailitem.Item(1).Forward
Set mySafeItem = CreateObject("Redemption.SafeMailItem")
FWDItem.To = rs!Email
FWDItem.DeleteAfterSubmit = True
FWDItem.Display
mySafeItem.Item = FWDItem
mySafeItem.Send
FWDItem.Close olDiscard ' when I display the window it
doesn't close after send, so I need to close manually.
rs.MoveNext
Loop
End If