/ Forums / Advansys Formativ / Creating Solutions with Formativ / How to determine recipient address? / Reply To: How to determine recipient address?

#7264
Support 1a
Participant

    Here’s one approach:

    dim oMsg
      dim oMessages
     
      iFilter = "(MAIL) AND (BOX_TYPE = INCOMING) AND (NOT READ)"
      Set oMessages = GroupWise.Account.MailBox.FindMessages(iFilter)
     
      if oMessages is nothing then
        exit sub
      end if
     
      for each oMsg in oMessages
        msgbox oMsg.subject
      next
     
      set oMsg = nothing
      set oMessages = nothing
    

    Advansys Support