4 Replies Latest reply on Jul 28, 2006 8:18 PM by Andrew Oliver

    MessageData getBoundary() bug?

    Pat Osterday Newbie


      I think this is a bug, but thought I'd post here before Jira.

      In the getBoundary() method in MessageData, I think the line:

      String[] header = getHeader("Content-Type").split("\\r\\n");

      Should be moved into the try/catch. If a message doesn't have a Content-Type, the method crashes.

      Not sure how the writeMessage in CmdRETR in the pop3 handlers would handle this, but I'm using similar code to read messages via a servlet and this issue just popped up for us.