System.err.println ("Error: No inboxes defined in " +inboxesProp);
log.error ("No inboxes defined in " +inboxesProp);
  public MailBox[] parseInboxes (String inboxesProp)  {    if (inboxesProp == null) return null;    Vector in = new Vector();    int MaxBoxes = 1;  // only handling one at the moment    //  Parse the inbox specs (separated by semicolons)    for (int i=0; i<MaxBoxes; i++)    {      StringTokenizer specs = new StringTokenizer (inboxesProp, ";");      if (specs.hasMoreTokens())      {        String spec = specs.nextToken();        StringTokenizer st = new StringTokenizer (spec, ",");        while (st.hasMoreTokens())         {          String protocol = st.nextToken();          //  POP3 inboxes          //          //  Format: pop3,host,port,user,pswd;...;...          if (protocol.equals ("pop3"))          {            try            {              String host = getFQDN (nextParm (st));              String port = nextParm (st);              String user = nextParm (st);              String pswd = nextParm (st);              in.add (new MailBox (protocol, host, port, user, pswd, "Inbox"));            }            catch (Exception e)            {              System.err.println ("Error: bad inbox spec in " +spec);              System.err.println ("Bad inbox spec ignored");            }          }          else break;        }      }      else break;    }    //  Create the inboxes array and return it    if (in.size() > 0)      {      inboxes =  (MailBox[]) in.toArray  (new MailBox[in.size()]);      return inboxes;    }    else    {      System.err.println ("Error: No inboxes defined in " +inboxesProp);      return null;    }  }