Compare commits
No commits in common. "c68b3f2f7ee10ab057b3e758acd2f5f561b18f1a" and "ba41b1e553ebd7fd0b8453d5bb586a81512d0d0c" have entirely different histories.
c68b3f2f7e
...
ba41b1e553
3 changed files with 0 additions and 5 deletions
|
@ -28,7 +28,6 @@ public class EmailService {
|
||||||
this.mailConfig = mailConfig;
|
this.mailConfig = mailConfig;
|
||||||
this.mailSender.setHost(mailConfig.host);
|
this.mailSender.setHost(mailConfig.host);
|
||||||
this.mailSender.setPort(mailConfig.port);
|
this.mailSender.setPort(mailConfig.port);
|
||||||
this.mailSender.setProtocol(mailConfig.protocol);
|
|
||||||
if (mailConfig.authenticationEnabled) {
|
if (mailConfig.authenticationEnabled) {
|
||||||
this.mailSender.setUsername(mailConfig.username);
|
this.mailSender.setUsername(mailConfig.username);
|
||||||
this.mailSender.setPassword(mailConfig.password);
|
this.mailSender.setPassword(mailConfig.password);
|
||||||
|
|
|
@ -22,7 +22,4 @@ public class MailConfig {
|
||||||
|
|
||||||
@Value("${app.mail.from-address}")
|
@Value("${app.mail.from-address}")
|
||||||
public String fromAddress;
|
public String fromAddress;
|
||||||
|
|
||||||
@Value("${app.mail.protocol}")
|
|
||||||
public String protocol;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,6 @@ app.mail.port=${MAIL_PORT:1025}
|
||||||
app.mail.username=${MAIL_USER:null}
|
app.mail.username=${MAIL_USER:null}
|
||||||
app.mail.password=${MAIL_PASS:null}
|
app.mail.password=${MAIL_PASS:null}
|
||||||
app.mail.from-address=${MAIL_FROM:casino@localhost}
|
app.mail.from-address=${MAIL_FROM:casino@localhost}
|
||||||
app.mail.protocol=${MAIL_PROTOCOL:smtp}
|
|
||||||
|
|
||||||
spring.application.name=casino
|
spring.application.name=casino
|
||||||
|
|
||||||
|
|
Reference in a new issue