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
contexts: dev
mail:
host: localhost
port: 1025
username:
password:
host: mail.nerdfortress.dev
port: 587
username: crusadetracker@send.nerdfortress.dev #Replace this field with your Gmail username.
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:
cache-duration: PT1S # 1 second, see the ISO 8601 standard
thymeleaf:

View File

@ -50,10 +50,16 @@ spring:
liquibase:
contexts: prod
mail:
host: localhost
port: 25
username:
password:
host: mail.nerdfortress.dev
port: 587
username: crusadetracker@send.nerdfortress.dev #Replace this field with your Gmail username.
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:
cache: true

View File

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