Recently, I have discovered a problem when sending an email using the Groupwise API that the draft message created before delivery is placed in the Trash. Before it seemed that the draft message was emptied from trash. Has something changed (using versions 7 and 8)? Or, is there a setting I need to change in code?



Here is a code sample:

Set objGW = createobject("NovellGroupwareSession")
Set objAcct = objGW.Login()
objMsg = objAcct.Mailbox.Messages.Add()
objMsg.Subject = "Test"
objMsg.BodyText.PlainTest = "This is a test."
objMsg.Recipients.Add("my email address")
objMsg.Attachments.Add("path and filename")

I receive the email, but I also get a draft in my trash without a recipient.