RED-7239 Add logs and remove id from SMTPConfiguration
This commit is contained in:
parent
f377d1a3ab
commit
3d9fca1419
@ -80,7 +80,8 @@ public class SMTPConfigurationController implements SMTPConfigurationResource, P
|
||||
public void testSMTPConfiguration(@RequestBody SMTPConfiguration 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
|
||||
public class SMTPConfiguration {
|
||||
|
||||
private String id;
|
||||
private String from;
|
||||
private String fromDisplayName;
|
||||
private String envelopeFrom;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user