Add password authentification on external smtp servers (#240)

* Add SMTP Authentification

* refactor: restrict access to getEmailSession()

* fix: FreemarkerEmailFactory test, defined protocols if TLS port is used to send email

* fix: add check for TLSv1.3 support
This commit is contained in:
Georgy Litvinov 2022-04-14 16:14:38 +02:00 committed by GitHub
parent 03624e5d1b
commit eff04e0979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 90 additions and 9 deletions

View file

@ -40,6 +40,9 @@ vitro.local.solr.url = http://localhost:8983/solr/vitrocore
# Example:
# email.smtpHost = smtp.mydomain.edu
# email.replyTo = vitroAdmin@mydomain.edu
# email.username = vivtroAdmin@mydomain.edu
# email.password = secret
# email.port = 25 or 465 or 587
#
email.smtpHost =
email.replyTo =