this.executorService = executorService;
this.smtpRepository = smtpRepository;
}
@Override
public Future<MailStatus> send(String subject, String to, String message) {
<BUG>Smtp smtp = smtpRepository.smtp();
</BUG>
Callable<MailStatus> task = new Callable<MailStatus>() {
@Override
public MailStatus call() {

this.executorService = executorService;
this.smtpRepository = smtpRepository;
}
@Override
public Future<MailStatus> send(String subject, String to, String message) {
Smtp smtp = smtpRepository.configuration();
Callable<MailStatus> task = new Callable<MailStatus>() {
@Override
public MailStatus call() {
