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

Support 3

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

Advansys Support