@Component(value="emailServiceMock")
@ConditionalOnProperty(name="spring.mail.host",
matchIfMissing=true,
havingValue="false")
@Scope(value="singleton",
proxyMode=TARGET_CLASS)
public class EmailServiceMock
extends AbstractEmailService
| Constructor and Description |
|---|
EmailServiceMock(DomainControllerProperties properties,
DomainUserRepository userRepository,
org.thymeleaf.TemplateEngine templateEngine)
Instantiates a new Email service mock.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Init.
|
sendEmailWithCredentialspublic EmailServiceMock(DomainControllerProperties properties, DomainUserRepository userRepository, org.thymeleaf.TemplateEngine templateEngine)
properties - the propertiesuserRepository - the user repositorytemplateEngine - the template engineCopyright © 2020 bremersee.org. All rights reserved.