• Creator
    Topic
  • #4006
    Anonymous

      Hello,

      I have a Demoversion of Formativ V1.06.08 with Groupwise 6.5 SP1 installed.
      I tried to access the property “DelayedDeliveryDate”, which is defined as
      Read/Write in the Object-API of Groupwise.

      As You can see in the example attached, I can read the property, but if I
      try to set a new value, I get an “Unknown Error”.

      I like to delay the delivery of a automatic generated mail as I
      can do in the “Send Options” of a “New Mail”- Window.

      Sub Main(Client, GWEvent)

      Dim objMail
      Dim objNewMail
      Dim objRecipient
      Dim Datum

      ‘ Create a draft mail message with no user interface
      Set objMail = GroupWise.Account.MailBox.Messages.Add(“GW.MESSAGE.MAIL”)

      ‘ Add a single recipient – ourself
      Set objRecipient = objMail.Recipients.Add(GroupWise.Account.Owner.EmailAddress,,0)
      With objMail
      .Priority = fgwNormal
      .FromText = “Formativ”
      .Subject = “This email was created using Formativ”
      .BodyText.PlainText = “This is the body text”

      Datum = .DelayedDeliveryDate
      msgbox (Datum)
      .DelayedDeliveryDate = TODAY

      End With

      Set objNewMail = objMail.Send

      Call MsgBox (“Message Id : ” & objNewMail.MessageID, 64, “Formativ”)

      Set objRecipient = Nothing
      Set objMail = Nothing

      End Sub

    • Author
      Replies
    • #6831
      Support 2
      Moderator

        Thanks for your post. I have replicated the problem in-house. Testing indicates that the problem occurs when using client Caching mode. Setting the DelayedDeliveryDate works correctly when using client Online mode.

        There is also a recent posting on the Novell Developer newsgroup from someone experiencing the same problem [click here].

        This is an issue with the Object API and not related to Formativ. We will report the problem to Novell.

        Seasons Greetings,

        Advansys Support

        #6830
        Anonymous

          Ok, my script is also working perfect in Online-Mode,
          but not in Remote-Mode.
          Any work-around?

          #6832
          Support 2
          Moderator

            Unfortunately we are not aware of a work-around. We have reported the issue to Novell and hopefully that will result in a fix being available in the next service pack.

            Regards,

            Advansys Support

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