/ Forums / Advansys Formativ / Creating Solutions with Formativ / Create an Appointment without “me” / Reply To: Create an Appointment without “me”

#8116
Support 3
Participant

Could you please elaborate your question.

Do you want to send an appointment to another recipient? Your sample code above only create the appointment message but do not sent it. See the sample code below which send the appointment.

  
  set nMsg = GroupWise.Account.workfolder.messages.add("GW.MESSAGE.APPOINTMENT", fgwDraft)
  nRecipient = nMsg.Recipients.Add("recipient@email.com",,0)
  nMsg.OnCalendar = TRUE
  nMsg.StartDate = DateAdd("d", 1, date)
  nMsg.subject = "Test Appointment"
  nMsg.Place = "IT"
  nMsg.Priority = fgwNormal
  nMsg.send

Regards,
Advansys Support