diff --git a/connectors/email/src/main/java/io/camunda/connector/email/outbound/protocols/actions/SmtpSendEmail.java b/connectors/email/src/main/java/io/camunda/connector/email/outbound/protocols/actions/SmtpSendEmail.java index 952a66e63f..06b83f1ad6 100644 --- a/connectors/email/src/main/java/io/camunda/connector/email/outbound/protocols/actions/SmtpSendEmail.java +++ b/connectors/email/src/main/java/io/camunda/connector/email/outbound/protocols/actions/SmtpSendEmail.java @@ -126,7 +126,7 @@ public record SmtpSendEmail( @Valid String htmlBody) implements SmtpAction { - @AssertTrue(message = "Please provide a proper message body") + @AssertTrue(message = "Please provide a proper message body") public boolean isEmailMessageValid() { return switch (contentType) { case PLAIN -> body != null; @@ -134,4 +134,4 @@ public boolean isEmailMessageValid() { case MULTIPART -> body != null && htmlBody != null; }; } - } +}