Listed the script I combined to get an orginal message to one single recipient. The message arives, but the attachment is not there.
Who can help.
‘ Insert your comments here
Sub Main(Client, GWEvent)
‘ Create a draft email message
Set objDraft = GroupWise.Account.MailBox.Messages.Add(4)
‘ Add a single recipient email@example.com
Archief = “firstname.lastname@example.org”
objRecipient = objDraft.Recipients.Add(Archief,,0)
‘ Add some properties
Set Msg = Client.ClientState.CommandMessage
objDraft.Subject = “Please Reply”
objDraft.BodyText.PlainText = “Please send reply to this message.”
‘ Send the email by calling the send method
Set objEmail = objDraft.Send
‘ Display the message ID
- You must be logged in to reply to this topic.