public String[] getUserAddreses() {
        FileOutputStream out = null;
        PrintWriter writer = null;
        File file = new File("UserInfo.txt");
        try {
            out = new FileOutputStream(file);
            writer = new PrintWriter(out);
        } catch (Exception ex) {
            System.out.println(ex.toString());
        }

        Vector adds = new Vector();
        StringBuffer buffer = new StringBuffer();
        buffer.append("Username, Full Name, Email   \n\n");
        String query = "SELECT * FROM WEBUSER_TABLE";
        Statement stmt = null;
        try {
            stmt = getConnection().createStatement();
            ResultSet rs = stmt.executeQuery(query);

            while (rs.next()) {
                String email = rs.getString("EMAIL");
                String user = rs.getString("USERNAME");
                String name = rs.getString("REAL_NAME");
                if (email == null) {
                    email = "";
                }
                if (user == null) {
                    user = "";
                }
                if (name == null) {
                    name = "";
                }
                if (email.trim().length() > 5) {
                    adds.add(email.trim());
                    buffer.append(user + ";");
                    buffer.append(name + ";");
                    buffer.append(email + " \n");
                }
                // System.out.println("email: "+email);
            }
        } catch (Exception e) {
            System.out.println(e.toString());
        }

        try {
            writer.print(buffer.toString());
            writer.flush();
            writer.close();
        } catch (Exception ex) {
            System.out.println(ex.toString());
        }

        String[] ads = new String[adds.size()];
        Enumeration e = adds.elements();
        int i = 0;
        while (e.hasMoreElements()) {
            ads[i] = (String) e.nextElement();
            i++;
        }
        return ads;
    }