Looks like Messages.Add() method not working when you provide “GW.MESSAGE.DOCUMENTREFERENCE” as class name.
Good to see your post in Novell Object API forum. Keep us update, if you find any resolution to the post.
Novell docs says “If ClassName is omitted, a document reference (GW.MESSAGE.DOCUMENTREFERENCE) is assumed.”. Based on it, following code should work where class name not provided.
Set MailObjRef = MyAccount.DocumentsFolder.Messages.Add("", DocNew, fgwCurrent)
Hope this helps.