out.writeBytes("\nContent-Type: application/octet-stream; name=\"" + filename + "\"\nContent-Transfer-Encoding: x-uuencode\nContent-Disposition: attachment; filename=\"" + filename + "\"\n\n");
out.writeBytes("\nContent-Type: " + ctype + "; name=\"" + filename + "\"\nContent-Transfer-Encoding: x-uuencode\nContent-Disposition: attachment; filename=\"" + filename + "\"\n\n");
  public UUEncode(Vector attach) {    try {      out = new DataOutputStream(new BufferedOutputStream(new FileOutputStream(System.getProperty("user.home") + "/.yamm/boxes/outbox", true)));      out.writeBytes("--AttachThis");      for(int i = 0; i < attach.size();i++) {        StringTokenizer tok = new StringTokenizer(attach.elementAt(i).toString(), System.getProperty("file.separator"));        if(!(tok.countTokens() <= 1))          for(;1 < tok.countTokens();tok.nextToken()) {}        filename = tok.nextToken();                out.writeBytes("\nContent-Type: application/octet-stream; name=\"" + filename + "\"\nContent-Transfer-Encoding: x-uuencode\nContent-Disposition: attachment; filename=\"" + filename + "\"\n\n");        encodeFile(attach.elementAt(i).toString());        out.writeBytes("\n--AttachThis");      }      out.writeBytes("\n.\n\n");      out.close();    } catch(IOException ioe) { System.err.println(ioe); }  }