-
Notifications
You must be signed in to change notification settings - Fork 2
Configurations unleashed
Nadeem Mohammad edited this page Jun 19, 2020
·
18 revisions
There are various configurations
Refer this for more details.
Refer this for more details.
spring.mail.default-encoding=UTF-8
spring.mail.host=smtp.gmail.com
[email protected]
spring.mail.password=GmailPAssword
spring.mail.port=587
spring.mail.protocol=smtp
spring.mail.test-connection=false
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.host=<corporte_host>
spring.mail.port=<corporate_port>
spring.mail.protocol=smtp
-
app.schedule.corn
: Defines how frequently the the job should send the email, it should be at max once a day, default value is0 0 10 * * *
runs everyday @ 10:00 AM, an example would be0 30 12 * * ?
runs job every day at 12:30 -
app.stop_on.load_error
: Defines if application should stop on error on continue, default is false. -
app.pool.thread.core_size
: Defines the core thread pool size for scheduler, default is 5 -
app.pool.thread.max_size
: Defines the max thread pool size for scheduler, default is 10 -
app.mailer.birthday.enabled
: Define weather birthday mailers should be sent, default is true. -
app.mailer.anniversary.enabled
: Define weather anniversary mailers should be sent, default is true. -
app.mail.expire_after_days
: An Integer property to add expiration header to emails -
app.schedule.externally_managed
: Defaults to false, which means schedules are managed internally, it can be set to true (If you run as standalone, and want to manage the trigger externally), if you are planning to use Task Scheduler (Windows) or Cron in Unix - Belated related configurations :
-
app.belated.date_format
: Examplesyyyy-MM-dd, yyyy/MM/dd , d/MM/yyyy , dd/MM/yyyy , dd-MM-yyyy dd-MMM-yyyy
-
app.belated.dates
: Comma separated dates, 2020-06-16, 2020-06-17, 2020-06-18 (Assuming date format isapp.belated.date_format = yyyy-MM-dd
) -
app.belated.max.back_days
: Default is 10 days, any date before this would be ignored -
app.belated.prefix
: Default is empty string, Can be set to values likeBelated :
-
-
logging.level.com.github
: Defines the loging level for wishing app, can be changed to TRACE , DEBUG, INFO -
logging.file.name
: Defines the file name log file. Potential value could belogs/wishing-app.log