• Creator
    Topic
  • #4382
    sam
    Participant

      How do I capture the formatted email text of the Composing Item. The email text is always unformatted when using BodyText property.

    • Author
      Replies
    • #8032
      Support 3
      Participant

        This issue is similar to your previous post about accessing formatted text from the subject.

        You will need to use the Object API to access the formatted body text.

          
        msgbox oMsg.BodyText.RTF
        

        Regards,
        Advansys Support

        #8027
        sam
        Participant

          thanks for your reply.

          Yes it is but i figured diff property diff problem…

          I am using the composingItem Formativ object.

          I cannot use the Object API the Item has not been sent yet.

          Then this begs the question : How can i access the object if it is not sent? Basically how does formativ do it?

          thanks,

          #8029
          Support 3
          Participant

            If the message not saved (i.e. Message ID “X00”) then you can only access limited properties of the message. Formativ wrap the Novell Token API to easily access these properties.

            In order to access the message property which is not available in Token API (i.e. formatted body text, etc), you will need to use the Object API. You can use the technique in other thread to save the message which will lets you to access the Object API.

            Regards,
            Advansys Support

            #8028
            sam
            Participant

              ok along these lines….

              When i use the ItemMessageSave function and then attached the save message to another email using the Groupwise API Attachements.add(File, ,DisplayName) Method.

              The attached email looses it’s text formating.

              Is this the same issue then the subject?

              I have to use this as the Groupwise API Attachements.add(Message, DisplayName) Method does not use the DisplayName supplied for the file.

              [This message was edited by sam on September 08, 2008 at 11:37 AM.]

              #8031
              sam
              Participant

                I have informed Novell of he Attachments.Add(Message, DisplayName) Defect. they will be looking into it.

                #8030
                Support 3
                Participant

                  Thanks for notifying us of this issue.

                  Regards,
                  Advansys Support

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