Added mail configuration

This commit is contained in:
vesem 2021-08-10 18:10:09 -04:00
parent 73e40980de
commit 230648a968
3 changed files with 21 additions and 9 deletions

View File

@ -54,10 +54,16 @@ spring:
# Remove 'faker' if you do not want the sample data to be loaded automatically # Remove 'faker' if you do not want the sample data to be loaded automatically
contexts: dev contexts: dev
mail: mail:
host: localhost host: mail.nerdfortress.dev
port: 1025 port: 587
username: username: crusadetracker@send.nerdfortress.dev #Replace this field with your Gmail username.
password: password: '!k$yzY9h42@D' #Replace this field with your Gmail password/App password.
protocol: smtp
tls: true
properties.mail.smtp:
auth: true
starttls.enable: true
ssl.trust: mail.nerdfortress.dev
messages: messages:
cache-duration: PT1S # 1 second, see the ISO 8601 standard cache-duration: PT1S # 1 second, see the ISO 8601 standard
thymeleaf: thymeleaf:

View File

@ -50,10 +50,16 @@ spring:
liquibase: liquibase:
contexts: prod contexts: prod
mail: mail:
host: localhost host: mail.nerdfortress.dev
port: 25 port: 587
username: username: crusadetracker@send.nerdfortress.dev #Replace this field with your Gmail username.
password: password: '!k$yzY9h42@D' #Replace this field with your Gmail password/App password.
protocol: smtp
tls: true
properties.mail.smtp:
auth: true
starttls.enable: true
ssl.trust: mail.nerdfortress.dev
thymeleaf: thymeleaf:
cache: true cache: true

View File

@ -141,7 +141,7 @@ jhipster:
# allow-credentials: true # allow-credentials: true
# max-age: 1800 # max-age: 1800
mail: mail:
from: crusadetracker@localhost from: crusadetracker@send.nerdfortress.dev
swagger: swagger:
default-include-pattern: /api/.* default-include-pattern: /api/.*
title: crusadetracker API title: crusadetracker API