email bean error modify
This commit is contained in:
parent
ecbea217f2
commit
852ff091cb
|
@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
|
||||||
@Service
|
@Service
|
||||||
public class EmailAuthService {
|
public class EmailAuthService {
|
||||||
|
|
||||||
@Autowired()
|
@Autowired
|
||||||
private JavaMailSender mailSender;
|
private JavaMailSender mailSender;
|
||||||
|
|
||||||
public void sendEmail(String to, String sub, String message) {
|
public void sendEmail(String to, String sub, String message) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user