Package Util

Examples of Util.Email


    }

    public void buscarEEnviarEmails(Unidade unidade) {

        Email dispararEmail = new Email();
        UsuarioDAO usuDao = new UsuarioDAO();
        List<Usuario> usuarios = usuDao.listarUsuariosPorUnidade(unidade);
        int cont = 0;

        if (!usuarios.isEmpty()) {
            while (!usuarios.isEmpty()) {
                user = (Usuario) usuarios.get(cont);
                usuarios.remove(cont);
                dispararEmail.enviarEmail(user.getUsuDscEmail());
            }
        }
    }
View Full Code Here

TOP

Related Classes of Util.Email

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.