Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d9fca1419 |
@ -80,7 +80,8 @@ public class SMTPConfigurationController implements SMTPConfigurationResource, P
|
|||||||
public void testSMTPConfiguration(@RequestBody SMTPConfiguration smtpConfigurationModel) {
|
public void testSMTPConfiguration(@RequestBody SMTPConfiguration smtpConfigurationModel) {
|
||||||
|
|
||||||
var propertiesMap = convertSMTPConfigurationModelToMap(smtpConfigurationModel);
|
var propertiesMap = convertSMTPConfigurationModelToMap(smtpConfigurationModel);
|
||||||
realmService.realm(TenantContext.getTenantId()).testSMTPConnection(propertiesMap);
|
var response = realmService.realm(TenantContext.getTenantId()).testSMTPConnection(propertiesMap);
|
||||||
|
log.info("Test SMTP email status {}", response.getStatus());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,6 @@ import lombok.NoArgsConstructor;
|
|||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
public class SMTPConfiguration {
|
public class SMTPConfiguration {
|
||||||
|
|
||||||
private String id;
|
|
||||||
private String from;
|
private String from;
|
||||||
private String fromDisplayName;
|
private String fromDisplayName;
|
||||||
private String envelopeFrom;
|
private String envelopeFrom;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user