The code below will add an attachment, in this case ‘c:test.txt’, to a new mail message.
Groupwise.NewMail
' The attachment's full path
iFilePath = "c:test.txt"
call GroupWise.ItemAttachmentAdd("X00", itcAttachClassFile, iFilePath, "")
Hope this helps.
Best regards,
Advansys Support