Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 911 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 911 Bytes

OPEN-GATES

  • Criar variáveis de ambiente:

    • BD_NOME
    • BD_HOST
    • BD_SENHA
    • QRCODE_SALT
    • BD_USUARIO
    • EMAIL_SISTEMA
    • EMAIL_SISTEMA_SENHA
  • Banco de dados

    • Criar banco de dados com o nome [opengates]
    • Rotar o script [cria-tudo.sql]

new File(PrincipalTerminal.class.getClassLoader().getResource("oi.html").getPath()).exists()

Date(util) --> Date(SqlDate) Pegar timestamp e criar o outro objeto timestamp = getTime() - long new Date(timestamp)

// mail.attach(new URL("http://urltofile.extension"), "Name", "Description");

// EmailAttachment attachment = new EmailAttachment(); // attachment.setPath("/tmp/ola.jpg"); // attachment.setDisposition(EmailAttachment.ATTACHMENT); // attachment.setDescription("Picture of Weverson"); // attachment.setName("John"); // email.attach(attachment);