docs: protected void initMessageObject() {
  
          Object o = null;
  
          try {
              // this is not the initial call, get the message info object from session
              o = getDialogObject();
              m_msgInfo = (CmsMessageInfo)o;
              // test
              m_msgInfo.getTo();
          } catch (Exception e) {
              // create a new message info object
              m_msgInfo = new CmsMessageInfo();
          }
          m_msgInfo.setFrom(getCms().getRequestContext().getCurrentUser().getFullName());
          m_msgInfo.setTo(getToNames());
      }