#6469
Support 2
Moderator

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