private static boolean parsAndSetNewPoll(Polls poll, Request request) {
		boolean retVal = false;
		Map<String, String> reqParams = request.getParams();

		try {
			poll.setCreator(getMailFromCookie(request));
			poll.setSubject(reqParams.get("subject"));
			poll.setData(reqParams.get("content"));
			poll.setDue_dateDate(reqParams.get("date"));
			poll.setDue_dateTime(reqParams.get("time"));
			poll.setId(reqParams.get("id"));
			
			String[] tempRecipient = reqParams.get("recipients").split(CRLF);
			Recipient[] newRecipients = new Recipient[tempRecipient.length];
			
			for (int i = 0; i < tempRecipient.length; i++) {
				if (Helper.EmailValidator(tempRecipient[i])) {
					newRecipients[i] = new Recipient(tempRecipient[i]);
				} else {
					throw new Exception();
				}
			}
			
			poll.setRecipient(newRecipients);
			
			String[] tempAnswers = reqParams.get("answers").split(CRLF);
			Answer[] newAnswers = new Answer[tempAnswers.length];
			
			for (int i = 0; i < newAnswers.length; i++) {
				newAnswers[i] = new Answer(tempAnswers[i]);
			}
			
			poll.setAnswers(newAnswers);
			
			retVal = true;
		} catch (Exception e) {
			retVal = false;
		}

		return retVal;
	}