spring.application.name=mail server.servlet.context-path=/email #server.port=8443 #server.ssl.enabled=true # Configuración de la Base de Datos MySQL spring.datasource.url=jdbc:mysql://localhost:3306/escolapiosdegetafe?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true spring.datasource.username=email spring.datasource.password=email spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver # Hibernate: Crea automáticamente la tabla si no existe en la BBDD spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect spring.mail.host=smtp.gmail.com spring.mail.port=587 spring.mail.username=ffe@escolapiosdegetafe.es spring.mail.password=vosn ywcj mgpa ggtw server.port=8082 # Propiedades obligatorias de encriptación para Gmail spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.starttls.required=true # 🟢 MUY IMPORTANTE: Forzamos un tiempo de espera de 5 segundos para que no se quede colgado si falla la red spring.mail.properties.mail.smtp.connectiontimeout=5000 spring.mail.properties.mail.smtp.timeout=5000 spring.mail.properties.mail.smtp.writetimeout=5000