private List<Integer> getMailNumberList() {
		String response;
		List<String> responseList = new ArrayList<String>();
		List<Integer> MailNumberList = new ArrayList<Integer>();
		try {
			sTrace.debug("Try Stat Command");
			writeToServer("List");
			response = readFromServer();
			while(!response.equals(".")){
				responseList.add(response);
				response = readFromServer();
			}
			if (response.startsWith("-ERR")) {
				// Server returned -ERR -> abort
				throw new Exception("Server returned -ERR on \"STAT\" command");
			}
			for(int i = 1; i<responseList.size(); i++){
				int Number = Integer.parseInt(responseList.get(i).split(" ")[0]);
				MailNumberList.add(Number);
				sTrace.debug("MailNumber: " + Number);
			}
		} catch (IOException e) {
			error = true;
			sTrace.error("Socket Error during Pop3Client.getNumberofMails()\n"
					+ e.getMessage());
		} catch (Exception e) {
			error = true;
			sTrace.error(e.getMessage());
		}
		return MailNumberList;
	}