/ Forums / Advansys Formativ / Creating Solutions with Formativ / Creating Personal messages

  • Creator
    Topic
  • #4059
    Martin
    Participant

    Hi!

    I try to create a personal message, but get an Invalid Argument error.

    Groupwise.account.mailbox.messages.add("GW.MESSAGE.MAIL" , fgwPersonal)

    Creating a draft works fine.

    It seems that any number except 4 ( = fgwdraft) produces this error.

    Any ideas why this doesn’t work?

  • Author
    Replies
  • #6986
    Support 1
    Participant

    Thank you for your enquiry.

    The following code sample uses the GroupWise Token API do create a mail message and change the item type to personal/posted.

      GroupWise.NewMail
      call GroupWise.ItemSetText("X00", itfSubject, "Test message", true)
      call GroupWise.ViewSwitch("", 276, "Posted Message")
      GroupWise.ItemSaveMessageDlg

    It does not seem possible to create a personal message using the Object API alone.

    I hope this helps.

    Advansys Support

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.