Here is part of my code, in which I think my problem lies.
The code is suppose to create a Groupwise e-mail message, which it does, but my problem is that it sends it right away. I would like it to only create the message and open it, not send it.
Does anyone know what I need to add/modify:
Set cGW = New GW
With cGW
.Login
.BodyText = "Test."
.Subject = "Test E-mail"
.RecTo = strRecTo
.FileAttachments = varAttach
.FromText = ""
.Priority = "Medium"
strTemp = .CreateMessage
'.ResolveRecipients strTemp
'If IsArray(.NonResolved) Then MsgBox "Some unresolved recipients."
.SendMessage strTemp
.DeleteMessage strTemp, True
End With
The code is suppose to create a Groupwise e-mail message, which it does, but my problem is that it sends it right away. I would like it to only create the message and open it, not send it.
Does anyone know what I need to add/modify:
Set cGW = New GW
With cGW
.Login
.BodyText = "Test."
.Subject = "Test E-mail"
.RecTo = strRecTo
.FileAttachments = varAttach
.FromText = ""
.Priority = "Medium"
strTemp = .CreateMessage
'.ResolveRecipients strTemp
'If IsArray(.NonResolved) Then MsgBox "Some unresolved recipients."
.SendMessage strTemp
.DeleteMessage strTemp, True
End With