My personal username and pwd removed, test strings added instead.
This commit is contained in:
parent
2bef18b3db
commit
8c21d6a3b0
|
@ -52,8 +52,8 @@ public class AppConfig extends WebMvcConfigurerAdapter {
|
||||||
JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
|
JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
|
||||||
mailSender.setHost("smtp.gmail.com");
|
mailSender.setHost("smtp.gmail.com");
|
||||||
mailSender.setPort(587);
|
mailSender.setPort(587);
|
||||||
mailSender.setUsername("reva.olga");
|
mailSender.setUsername("username");
|
||||||
mailSender.setPassword("zakpnejnnoqkehgs");
|
mailSender.setPassword("password");
|
||||||
mailSender.setJavaMailProperties(javaMailProperties());
|
mailSender.setJavaMailProperties(javaMailProperties());
|
||||||
return mailSender;
|
return mailSender;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue