fix mail conf
This commit is contained in:
parent
03c4b9bac6
commit
0fb31ed742
|
@ -45,7 +45,7 @@ public class EmailSender {
|
||||||
@Value("${oai.conf.notification.smtp.host}")
|
@Value("${oai.conf.notification.smtp.host}")
|
||||||
private String smtpHost;
|
private String smtpHost;
|
||||||
|
|
||||||
@Value("${oai.conf.notification.smtp.host}")
|
@Value("${oai.conf.notification.smtp.port}")
|
||||||
private long smtpPort;
|
private long smtpPort;
|
||||||
|
|
||||||
@Value("${oai.conf.notification.smtp.user}")
|
@Value("${oai.conf.notification.smtp.user}")
|
||||||
|
@ -68,7 +68,7 @@ public class EmailSender {
|
||||||
try {
|
try {
|
||||||
log.info("Sending mail...");
|
log.info("Sending mail...");
|
||||||
|
|
||||||
log.info(message.getContent());
|
log.debug(message.getContent());
|
||||||
|
|
||||||
Transport.send(message);
|
Transport.send(message);
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ oai.conf.maxRecords = 1000
|
||||||
oai.conf.notification.sender.name = OAI Collector Service
|
oai.conf.notification.sender.name = OAI Collector Service
|
||||||
oai.conf.notification.sender.email = noreply@research-infrastructures.eu
|
oai.conf.notification.sender.email = noreply@research-infrastructures.eu
|
||||||
oai.conf.notification.smtp.host = localhost
|
oai.conf.notification.smtp.host = localhost
|
||||||
oai.conf.notification.smtp.host = 25
|
oai.conf.notification.smtp.port = 25
|
||||||
oai.conf.notification.smtp.user =
|
oai.conf.notification.smtp.user =
|
||||||
oai.conf.notification.smtp.password =
|
oai.conf.notification.smtp.password =
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue