From 6921d819a506b8f6b578185121a8bcb050a8498a Mon Sep 17 00:00:00 2001 From: gkolokythas Date: Mon, 16 Sep 2019 11:34:47 +0300 Subject: [PATCH] Configuration settings for email. --- .../main/resources/application-staging.properties | 7 ++++++- .../web/src/main/resources/application.properties | 12 +++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/dmp-backend/web/src/main/resources/application-staging.properties b/dmp-backend/web/src/main/resources/application-staging.properties index 256bc3e7b..226accae4 100644 --- a/dmp-backend/web/src/main/resources/application-staging.properties +++ b/dmp-backend/web/src/main/resources/application-staging.properties @@ -23,9 +23,14 @@ configuration.resources.path=/tmp/ ####################MOCK FILES CONFIGURATIONS########## dataset.tags.mock=mockupTags.json +####################INVITATION MAIL CONFIGURATIONS############## +####################GENERIC MAIL CONFIGURATIONS################# +mail.subject=Invitation to DMP Plan {dmpname} +mail.from=TheApp@dev.cite.gr + ####################SPRING MAIL CONFIGURATIONS################# spring.mail.default-encoding=UTF-8 -spring.mail.host= +spring.mail.host=hermes.local.cite.gr spring.mail.port=25 spring.mail.protocol=smtp spring.mail.test-connection=false diff --git a/dmp-backend/web/src/main/resources/application.properties b/dmp-backend/web/src/main/resources/application.properties index 1e799efe0..cacdd641f 100644 --- a/dmp-backend/web/src/main/resources/application.properties +++ b/dmp-backend/web/src/main/resources/application.properties @@ -8,18 +8,16 @@ eu.eudat.logic.proxy.allowed.host=https://eestore.paas2.uninett.no ####################INVITATION MAIL CONFIGURATIONS############## ####################GENERIC MAIL CONFIGURATIONS################# mail.subject=Invitation to DMP Plan {dmpname} -mail.from= +mail.from=TheApp@dev.cite.gr ####################SPRING MAIL CONFIGURATIONS################# spring.mail.default-encoding=UTF-8 -spring.mail.host= -spring.mail.username= -spring.mail.password=w3l0v3CITe -spring.mail.port=587 +spring.mail.host=hermes.local.cite.gr +spring.mail.port=25 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.properties.mail.smtp.auth=false +spring.mail.properties.mail.smtp.starttls.enable=false #############LOGIN CONFIGURATIONS######### #############GENERIC LOGIN CONFIGURATIONS#########